Dev至main (#21)

* feat: 整合开发历史

* codepy安全性升级

* 优化一些东西

* 再次优化
This commit is contained in:
镀铬酸钾
2026-01-04 23:58:56 +08:00
committed by GitHub
parent a733d3dc4b
commit d7fbc5bb70
5 changed files with 167 additions and 9 deletions

View File

@@ -25,4 +25,7 @@ async def handle_echo(bot: Bot, event: MessageEvent, args: list[str]):
:param event: 消息事件对象。
:param args: 指令参数列表(未使用)。
"""
await event.reply(MessageSegment.image("https://img.paulzzh.com/touhou/random"))
try:
await event.reply(MessageSegment.image("https://img.paulzzh.com/touhou/random"))
except Exception as e:
await event.reply("报错了。。。" + e)