修复变量名遮蔽问题
This commit is contained in:
@ -4,11 +4,11 @@ from nonebot_plugin_alconna import UniMessage, UniMsg, Text
|
|||||||
|
|
||||||
from konabot.common.nb.match_keyword import match_keyword
|
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 _():
|
async def _():
|
||||||
await evt_nya_v2.send(await UniMessage().text("喵").export())
|
await evt_nya.send(await UniMessage().text("喵").export())
|
||||||
|
|
||||||
|
|
||||||
NYA_SYMBOL_MAPPING = {
|
NYA_SYMBOL_MAPPING = {
|
||||||
|
|||||||
Reference in New Issue
Block a user