Skip to content

Commit

Permalink
Merge pull request #4 from OrangeMiracle/master
Browse files Browse the repository at this point in the history
v1.1.2
  • Loading branch information
OrangeMiracle authored Feb 19, 2023
2 parents 9fc8838 + 1f1699f commit c183d07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion chatGPTQQbot/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ NICKNAME=["awesome", "bot"] # 配置机器人的昵称
COMMAND_START=["/", ""] # 配置命令起始字符
COMMAND_SEP=["."] # 配置命令分割字符

active_bowser=True
active_bowser=False
2 changes: 1 addition & 1 deletion chatGPTQQbot/src/plugins/gpttalk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, bot,email_,status_):
self.status = status_

#active_nobowser=False #启动不需要打开浏览器的部分
active_bowser=False or nonebot.get_driver().config.active_bowser #启动需要打开浏览器的部分,在.env.dev文件中修改,默认为False
active_bowser=(False or not('false' in str(nonebot.get_driver().config.active_bowser).lower())) #启动需要打开浏览器的部分,在.env.dev文件中修改,默认为False
conn = sqlite3.connect('./js/qqgroup_userinfo.db')
c = conn.cursor()
# conn.close()
Expand Down

0 comments on commit c183d07

Please sign in to comment.