移动!
This commit is contained in:
9
konabot/plugins/nya_echo/__init__.py
Normal file
9
konabot/plugins/nya_echo/__init__.py
Normal file
@ -0,0 +1,9 @@
|
||||
from nonebot import on_message
|
||||
from nonebot_plugin_alconna import UniMessage, UniMsg
|
||||
|
||||
evt = on_message()
|
||||
|
||||
@evt.handle()
|
||||
async def _(msg: UniMsg):
|
||||
if msg.extract_plain_text() == "喵":
|
||||
await evt.send(await UniMessage().text("喵").export())
|
||||
Reference in New Issue
Block a user