don't apply rules

This commit is contained in:
deathbybandaid 2019-05-10 09:10:25 -04:00
parent 45879894e8
commit 15d419c481

View File

@ -21,6 +21,7 @@ def query_detection(bot, trigger):
commands_list = dict() commands_list = dict()
for commandstype in bot.memory['SpiceBot_CommandsQuery']['commands'].keys(): for commandstype in bot.memory['SpiceBot_CommandsQuery']['commands'].keys():
if commandstype != 'rule':
for com in bot.memory['SpiceBot_CommandsQuery']['commands'][commandstype].keys(): for com in bot.memory['SpiceBot_CommandsQuery']['commands'][commandstype].keys():
if com not in commands_list.keys(): if com not in commands_list.keys():
if commandstype == 'nickname': if commandstype == 'nickname':