test
This commit is contained in:
parent
369d235c51
commit
b7c844cad7
@ -10,13 +10,13 @@ class Commands():
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def sopel_commands(self):
|
def sopel_commands(self):
|
||||||
commands = []
|
commands_list = []
|
||||||
for plugin_name, commands in self.bot.rules.get_all_commands():
|
for plugin_name, commands in self.bot.rules.get_all_commands():
|
||||||
for command in commands.values():
|
for command in commands.values():
|
||||||
commands.append({
|
commands_list.append({
|
||||||
"name": command.name
|
"name": command.name
|
||||||
})
|
})
|
||||||
return commands
|
return commands_list
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def sopel_nickname_commands(self):
|
def sopel_nickname_commands(self):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user