复读机功能

This commit is contained in:
JakelooCheng 2025-04-27 12:14:59 +08:00
parent 3d70a0c625
commit bec42f1cc3

View File

@ -128,9 +128,9 @@ class MyPlugin(Star):
conn.close()
yield event.plain_result(f"昵称修改成功!\n新的昵称为:{name}")
@filter.command("测试")
@filter.command("跟我念")
async def test(self, event: AstrMessageEvent, name: str):
yield event.plain_result(f"测试结果")
yield event.plain_result(f"{name}")