diff --git a/sopel_modules/SpiceBot/Commands.py b/sopel_modules/SpiceBot/Commands.py index 891b5c3..8b70afb 100644 --- a/sopel_modules/SpiceBot/Commands.py +++ b/sopel_modules/SpiceBot/Commands.py @@ -87,7 +87,7 @@ class BotCommands(): return realcom if "aliasfor" in self.dict['commands'][trigger_command_type][command].keys(): - realcom = self.dict['commands'][trigger_command_type][command] + realcom = self.dict['commands'][trigger_command_type][command]["aliasfor"] return realcom diff --git a/sopel_modules/SpiceBot/Prerun.py b/sopel_modules/SpiceBot/Prerun.py index 51da742..5112048 100644 --- a/sopel_modules/SpiceBot/Prerun.py +++ b/sopel_modules/SpiceBot/Prerun.py @@ -48,7 +48,6 @@ def prerun(t_command_type='module', t_command_subtype=None): argsdict_default["log_id"] = botmessagelog.messagelog_assign() argsdict_default["realcom"] = botcommands.get_realcom(argsdict_default["com"], trigger_command_type) - argsdict_default["realcom"] = str(argsdict_default["realcom"]) if argsdict_default["type"] == 'nickname': argsdict_default["comtext"] = "'" + bot.nick + " " + argsdict_default["com"] + "'"