This commit is contained in:
deathbybandaid 2019-07-06 08:13:33 -04:00
parent 252f6d8817
commit fc3411d610

View File

@ -35,7 +35,7 @@ def bot_dictcom_process(bot, trigger, botcom):
# handling for special cases
posscom = spicemanip(botcom.dict['args'], 1)
if posscom.lower() in [command.lower() for command in botcom.dict["dict"].keys()]:
if posscom.lower() in [command.lower() for command in list(botcom.dict["dict"].keys())]:
for command in botcom.dict["dict"].keys():
if command.lower() == posscom.lower():
posscom = command