diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index d655ba0..c639521 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -10,13 +10,13 @@ class Commands(): @property def sopel_commands(self): - commands = [] + commands_list = [] for plugin_name, commands in self.bot.rules.get_all_commands(): for command in commands.values(): - commands.append({ + commands_list.append({ "name": command.name }) - return commands + return commands_list @property def sopel_nickname_commands(self):