test
This commit is contained in:
parent
369d235c51
commit
b7c844cad7
@ -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):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user