事件工厂111

This commit is contained in:
2026-01-01 18:43:14 +08:00
parent 046dd0860f
commit 3ba15d38f9
15 changed files with 1017 additions and 245 deletions

View File

@@ -5,11 +5,11 @@ Echo 插件
"""
from core.command_manager import matcher
from core.bot import Bot
from models.event import Event
from models import MessageEvent
@matcher.command("echo")
async def handle_echo(bot: Bot, event: Event, args: list[str]):
async def handle_echo(bot: Bot, event: MessageEvent, args: list[str]):
"""
处理 echo 指令,原样回复用户输入的内容