mirror of
https://github.com/SpiceBot/SpiceBot.git
synced 2026-11-12 14:39:54 -05:00
attempt
This commit is contained in:
parent
fe60378a68
commit
0eae1628db
@ -24,8 +24,9 @@ def query_detection(bot, trigger):
|
|||||||
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':
|
||||||
com = str(bot.nick) + " " + com
|
commands_list[str(bot.nick) + " " + com] = bot.memory['SpiceBot_CommandsQuery']['commands'][commandstype][com]
|
||||||
commands_list[com] = bot.memory['SpiceBot_CommandsQuery']['commands'][commandstype][com]
|
else:
|
||||||
|
commands_list[com] = bot.memory['SpiceBot_CommandsQuery']['commands'][commandstype][com]
|
||||||
|
|
||||||
triggerargsarray = spicemanip.main(trigger, 'create')
|
triggerargsarray = spicemanip.main(trigger, 'create')
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user