This commit is contained in:
deathbybandaid 2022-02-10 13:54:43 -05:00
parent 981eb37f22
commit 267ecec3e4

View File

@ -1,4 +1,3 @@
import bot
class Commands(): class Commands():
@ -8,12 +7,12 @@ class Commands():
@property @property
def sopel_commands(self): def sopel_commands(self):
return bot.rules.get_all_commands() return self.bot.rules.get_all_commands()
@property @property
def sopel_nickname_commands(self): def sopel_nickname_commands(self):
return bot.rules.get_all_nick_commands() return self.bot.rules.get_all_nick_commands()
@property @property
def sopel_action_commands(self): def sopel_action_commands(self):
return bot.rules.get_all_action_commands() return self.bot.rules.get_all_action_commands()