HibiKier / nonebot_plugin_russian

Nonebot2插件 俄罗斯轮盘,通过每日'轮盘签到'来获取金币,然后以金币作为赌注,通过'装弹'来对其他人发起决斗,轮流开枪直到运气不好的人先去世。
MIT License
26 stars 4 forks source link

与npm冲突 #4

Closed BalconyJH closed 3 years ago

BalconyJH commented 3 years ago

09-24 21:14:57 [ERROR] nonebot | Error when running RunPreProcessors. Running cancelled! Traceback (most recent call last): File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\nonebot\message.py", line 127, in _check_matcher await _run_matcher(Matcher, bot, event, state)

File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\nonebot\message.py", line 140, in _run_matcher await asyncio.gather(*coros) File "c:\users\administrator\appdata\local\programs\python\python39\lib\site-packages\nonebot_pluginmanager__init__.py", line 35, in if not plugin_manager.get_plugin(conv=conv, perm=1)[plugin]: KeyError: '俄罗斯轮盘' 以上为nblog

HibiKier commented 3 years ago

替换了__plugin_namezx_plugin_name__

BalconyJH commented 3 years ago

具体是在哪换啊

HibiKier commented 3 years ago

init.py,就前几行,有个__plugin_name__,删了或改成别的都行