Feature: 支持响应更多类型的喵 #52

Merged
Passthem merged 3 commits from feature/nya-more into master 2026-02-25 13:57:37 +08:00
Showing only changes of commit 3ddf81e7de - Show all commits

View File

@ -4,11 +4,11 @@ from nonebot_plugin_alconna import UniMessage, UniMsg, Text
from konabot.common.nb.match_keyword import match_keyword
evt_nya_v2 = on_message(rule=match_keyword(""))
evt_nya = on_message(rule=match_keyword(""))
@evt_nya_v2.handle()
@evt_nya.handle()
async def _():
await evt_nya_v2.send(await UniMessage().text("").export())
await evt_nya.send(await UniMessage().text("").export())
NYA_SYMBOL_MAPPING = {