更新repo贴图

This commit is contained in:
ClovertaTheTrilobita 2025-02-02 23:34:06 +08:00
parent a1197314e6
commit 7afaf7e52e
4 changed files with 5 additions and 3 deletions

3
.gitignore vendored
View file

@ -14,4 +14,5 @@ chat_history.json
/chat.db
/chat_bot.db-wal
/chat_bot.db-shm
error.log
error.log
.log

View file

@ -4,6 +4,7 @@ nonebot2[fastapi]
nonebot2[httpx]
nonebot2[websockets]
ffmpeg-python
sqlalchemy
selenium
autopep8

Binary file not shown.

After

Width:  |  Height:  |  Size: 231 KiB

View file

@ -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)