Replies: 1 comment 3 replies
-
|
你是不是重复写了两个,看看command.py和weather.py |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
我尝试了nonebot官方文档的实例函数,第一次使用时on_command函数正确添加了我想要的命令,然后我修改了plugin里的weather.py里的函数,重新启动bot,但是bot返回给我的命令依然是一开始的,也就是说weather.py里我修改的函数根本没有生效,on_command没有重新加载我重新定义的命令和别名,这是为什么呢
Beta Was this translation helpful? Give feedback.
All reactions