diff options
| author | 2018-03-17 22:35:18 +0000 | |
|---|---|---|
| committer | 2018-03-17 22:35:18 +0000 | |
| commit | 38de224a1aec11baccf9efb9994c28e3901b7b4c (patch) | |
| tree | 6a95923bbb2b735d6af4abd40ed61579b9b0c752 | |
| parent | Added logging to formatter.py (#34) (diff) | |
Fix help command issue (fetch 1st index)
| -rw-r--r-- | bot/formatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/formatter.py b/bot/formatter.py index 0a3360d54..1722dbf3c 100644 --- a/bot/formatter.py +++ b/bot/formatter.py @@ -124,7 +124,7 @@ class Formatter(HelpFormatter): command_list = await self.filter_command_list() data = sorted(command_list, key=category_check) - log.trace(f"Acquired command list and sorted by cog name: {[command.name for command in data]}") + log.trace(f"Acquired command list and sorted by cog name: {[command[1].name for command in data]}") for category, commands in itertools.groupby(data, key=category_check): commands = sorted(commands) |