fix: 热重载后!draw无法使用的问题

This commit is contained in:
Rock Chin
2023-04-06 18:37:07 +08:00
parent 6b8c1209b7
commit 13ef35f96f
24 changed files with 24 additions and 24 deletions

View File

@@ -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__ = {}