mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
更新repo贴图
This commit is contained in:
parent
a1197314e6
commit
7afaf7e52e
4 changed files with 5 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -15,3 +15,4 @@ chat_history.json
|
||||||
/chat_bot.db-wal
|
/chat_bot.db-wal
|
||||||
/chat_bot.db-shm
|
/chat_bot.db-shm
|
||||||
error.log
|
error.log
|
||||||
|
.log
|
||||||
|
|
@ -4,6 +4,7 @@ nonebot2[fastapi]
|
||||||
nonebot2[httpx]
|
nonebot2[httpx]
|
||||||
nonebot2[websockets]
|
nonebot2[websockets]
|
||||||
|
|
||||||
|
ffmpeg-python
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
selenium
|
selenium
|
||||||
autopep8
|
autopep8
|
||||||
|
|
|
||||||
BIN
src/image/github_repo/SanYeCao-Nonebot3.png
Normal file
BIN
src/image/github_repo/SanYeCao-Nonebot3.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 231 KiB |
|
|
@ -20,7 +20,7 @@ with open(os.getcwd() + '/src/ai_chat/config/chat_ai.yaml', 'r', encoding='utf-8
|
||||||
|
|
||||||
|
|
||||||
menu = ['/今日运势','/图','/点歌','/摸摸头','/群老婆','/今日老婆', "/开启ai","/关闭ai","/角色列表","/添加人设", "/更新人设", "/删除人设", "/切换人设", "/管理员注册",
|
menu = ['/今日运势','/图','/点歌','/摸摸头','/群老婆','/今日老婆', "/开启ai","/关闭ai","/角色列表","/添加人设", "/更新人设", "/删除人设", "/切换人设", "/管理员注册",
|
||||||
'/待办', '/test','/天气','我喜欢你', "❤", "/待办查询", "/新建待办", "/删除待办" ,"/cf", "/奶龙", "/repo", "/info", "/B站搜索"]
|
'/待办', '/test','/天气','我喜欢你', "❤", "/待办查询", "/新建待办", "/删除待办" ,"/cf", "/奶龙", "/repo", "/info", "/B站搜索", "/BV搜索"]
|
||||||
|
|
||||||
|
|
||||||
async def check_value_in_menu(message: MessageEvent) -> bool:
|
async def check_value_in_menu(message: MessageEvent) -> bool:
|
||||||
|
|
@ -92,7 +92,7 @@ async def github_repo():
|
||||||
|
|
||||||
content = "三叶草bot仓库地址\n一起来搭个机器人吧😆"
|
content = "三叶草bot仓库地址\n一起来搭个机器人吧😆"
|
||||||
msg = Message([
|
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),
|
MessageSegment.text(content),
|
||||||
])
|
])
|
||||||
await repository.finish(msg)
|
await repository.finish(msg)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue