mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-Nonebot.git
synced 2026-04-01 22:04:51 +00:00
feat(plugins/yuc_wiki.py): 移除等待提示消息
chore(requirements.txt): 移除不再需要的cssutils依赖
This commit is contained in:
parent
7a5287a72f
commit
c8c92d01a8
2 changed files with 0 additions and 2 deletions
|
|
@ -25,7 +25,6 @@ playwright
|
||||||
nonebot-plugin-htmlrender
|
nonebot-plugin-htmlrender
|
||||||
tenacity
|
tenacity
|
||||||
paramiko
|
paramiko
|
||||||
cssutils
|
|
||||||
|
|
||||||
requests
|
requests
|
||||||
pillow
|
pillow
|
||||||
|
|
|
||||||
|
|
@ -11,5 +11,4 @@ yuc_wiki = on_command("本季新番",aliases={'新番观察'} ,rule=to_me(), pri
|
||||||
async def handle_function(message: MessageEvent):
|
async def handle_function(message: MessageEvent):
|
||||||
keyword = message.get_plaintext().replace("/", "").strip(" ")
|
keyword = message.get_plaintext().replace("/", "").strip(" ")
|
||||||
yuc_wiki_image = await get_yuc_wiki(keyword)
|
yuc_wiki_image = await get_yuc_wiki(keyword)
|
||||||
await yuc_wiki.send("请稍等。。。")
|
|
||||||
await yuc_wiki.finish(MessageSegment.file_image(Path(yuc_wiki_image)))
|
await yuc_wiki.finish(MessageSegment.file_image(Path(yuc_wiki_image)))
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue