diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index a9fd1a7..e605fb3 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -12,21 +12,24 @@ class Commands(): def valid_sopel_commands(self): found = [] for command_dict in self.sopel_commands: - found.append(command_dict["name"]).extend(command_dict["aliases"]) + found.append(command_dict["name"]) + found.extend(command_dict["aliases"]) return found @property def valid_sopel_nickname_commands(self): found = [] for command_dict in self.sopel_nickname_commands: - found.append(command_dict["name"]).extend(command_dict["aliases"]) + found.append(command_dict["name"]) + found.extend(command_dict["aliases"]) return found @property def valid_sopel_action_commands(self): found = [] for command_dict in self.sopel_action_commands: - found.append(command_dict["name"]).extend(command_dict["aliases"]) + found.append(command_dict["name"]) + found.extend(command_dict["aliases"]) return found @property