diff --git a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py index 4ca9a5e..7dd666b 100644 --- a/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py +++ b/sopel_SpiceBot_Core_1/SBCore/commands/__init__.py @@ -1,4 +1,3 @@ -import bot class Commands(): @@ -8,12 +7,12 @@ class Commands(): @property def sopel_commands(self): - return bot.rules.get_all_commands() + return self.bot.rules.get_all_commands() @property def sopel_nickname_commands(self): - return bot.rules.get_all_nick_commands() + return self.bot.rules.get_all_nick_commands() @property def sopel_action_commands(self): - return bot.rules.get_all_action_commands() + return self.bot.rules.get_all_action_commands()