Merge branch 'dev' into plugins

This commit is contained in:
镀铬酸钾
2026-01-02 17:45:39 +08:00
committed by GitHub
27 changed files with 1048 additions and 338 deletions

View File

@@ -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"))