mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-08 06:46:02 +00:00
fix: 热重载后!draw无法使用的问题
This commit is contained in:
@@ -29,7 +29,7 @@ def reload_all(notify=True):
|
||||
main.stop()
|
||||
|
||||
# 删除所有已注册的指令
|
||||
import pkg.qqbot.cmds.mgr as cmdsmgr
|
||||
import pkg.qqbot.cmds.aamgr as cmdsmgr
|
||||
cmdsmgr.__command_list__ = {}
|
||||
cmdsmgr.__tree_index__ = {}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user