mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-11 14:10:58 -05:00
repair errors
This commit is contained in:
parent
902604d508
commit
6fafa9714b
@ -28,7 +28,7 @@ def query_detection(bot, trigger):
|
||||
return
|
||||
|
||||
commands_list = dict()
|
||||
for commandstype in bot.memory['SpiceBot_CommandsQuery']['commands']["commandstype"].keys():
|
||||
for commandstype in bot.memory['SpiceBot_CommandsQuery']['commands'].keys():
|
||||
if commandstype not in ['rule', 'nickname']:
|
||||
for com in bot.memory['SpiceBot_CommandsQuery']['commands'][commandstype].keys():
|
||||
if com not in commands_list.keys():
|
||||
|
||||
Loading…
Reference in New Issue
Block a user