@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user