Merge branch 'dev' into plugins
This commit is contained in:
@@ -18,4 +18,11 @@ __plugin_meta__ = {
|
||||
|
||||
@matcher.command("thpic")
|
||||
async def handle_echo(bot: Bot, event: MessageEvent, args: list[str]):
|
||||
"""
|
||||
处理 thpic 指令,发送一张随机的东方Project图片。
|
||||
|
||||
:param bot: Bot 实例(未使用)。
|
||||
:param event: 消息事件对象。
|
||||
:param args: 指令参数列表(未使用)。
|
||||
"""
|
||||
await event.reply(MessageSegment.image("https://img.paulzzh.com/touhou/random"))
|
||||
|
||||
Reference in New Issue
Block a user