From 30e02bf42ac6744ecb87e33acb1e0731507aa1aa Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sat, 6 Jul 2019 08:23:16 -0400 Subject: [PATCH] test --- sopel_modules/SpiceBot_Core_Commands/DictComs.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/sopel_modules/SpiceBot_Core_Commands/DictComs.py b/sopel_modules/SpiceBot_Core_Commands/DictComs.py index 556ee10..8449f1c 100644 --- a/sopel_modules/SpiceBot_Core_Commands/DictComs.py +++ b/sopel_modules/SpiceBot_Core_Commands/DictComs.py @@ -33,12 +33,9 @@ def bot_dictcom_process(bot, trigger, botcom): # use the default key, unless otherwise specified botcom.dict["responsekey"] = "?default" - for command in list(botcom.dict["dict"].keys()): - bot.osd(str(command)) - # handling for special cases posscom = spicemanip(botcom.dict['args'], 1) - if posscom.lower() in [command.lower() for command in list(botcom.dict["dict"].keys())]: + if posscom.lower() in [str(command).lower() for command in list(botcom.dict["dict"].keys())]: for command in botcom.dict["dict"].keys(): if command.lower() == posscom.lower(): posscom = command