diff --git a/.gitignore b/.gitignore index 34d1a49..e76bf87 100644 --- a/.gitignore +++ b/.gitignore @@ -14,4 +14,5 @@ chat_history.json /chat.db /chat_bot.db-wal /chat_bot.db-shm -error.log \ No newline at end of file +error.log +.log \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 27e6d5e..072ece5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,6 +4,7 @@ nonebot2[fastapi] nonebot2[httpx] nonebot2[websockets] +ffmpeg-python sqlalchemy selenium autopep8 diff --git a/src/image/github_repo/SanYeCao-Nonebot3.png b/src/image/github_repo/SanYeCao-Nonebot3.png new file mode 100644 index 0000000..6075ecd Binary files /dev/null and b/src/image/github_repo/SanYeCao-Nonebot3.png differ diff --git a/src/qq_plugins/check.py b/src/qq_plugins/check.py index 50f848e..a1d859c 100644 --- a/src/qq_plugins/check.py +++ b/src/qq_plugins/check.py @@ -20,7 +20,7 @@ with open(os.getcwd() + '/src/ai_chat/config/chat_ai.yaml', 'r', encoding='utf-8 menu = ['/今日运势','/图','/点歌','/摸摸头','/群老婆','/今日老婆', "/开启ai","/关闭ai","/角色列表","/添加人设", "/更新人设", "/删除人设", "/切换人设", "/管理员注册", - '/待办', '/test','/天气','我喜欢你', "❤", "/待办查询", "/新建待办", "/删除待办" ,"/cf", "/奶龙", "/repo", "/info", "/B站搜索"] + '/待办', '/test','/天气','我喜欢你', "❤", "/待办查询", "/新建待办", "/删除待办" ,"/cf", "/奶龙", "/repo", "/info", "/B站搜索", "/BV搜索"] async def check_value_in_menu(message: MessageEvent) -> bool: @@ -92,7 +92,7 @@ async def github_repo(): content = "三叶草bot仓库地址\n一起来搭个机器人吧😆" msg = Message([ - MessageSegment.file_image(Path("src/image/github_repo/SanYeCao-Nonebot2.jpg")), + MessageSegment.file_image(Path("src/image/github_repo/SanYeCao-Nonebot3.png")), MessageSegment.text(content), ]) await repository.finish(msg)