aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar JoeBanks13 <[email protected]>2018-03-17 22:35:18 +0000
committerGravatar JoeBanks13 <[email protected]>2018-03-17 22:35:18 +0000
commit38de224a1aec11baccf9efb9994c28e3901b7b4c (patch)
tree6a95923bbb2b735d6af4abd40ed61579b9b0c752
parentAdded logging to formatter.py (#34) (diff)
Fix help command issue (fetch 1st index)
-rw-r--r--bot/formatter.py2
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)