排行榜指令

This commit is contained in:
liuwei
2025-05-20 10:01:27 +08:00
parent 231c331932
commit 628082c93a

View File

@@ -407,13 +407,13 @@ class Robot(Job):
await self.ipad_bot.send_text_message(group_id, rsp)
else:
# 处理特殊命令
if content == "^更新$":
if content.clean_content == "^更新$":
self.config.reload()
self.gbm.load_local_cache()
await self.ipad_bot.send_text_message("filehelper", "已更新")
elif content == "PDF":
elif content.clean_content == "PDF":
self.generate_sehuatang_pdf()
elif content == "排行榜":
elif content.clean_content == "排行榜":
self.generate_and_send_ranking()
if is_group: