From 38de224a1aec11baccf9efb9994c28e3901b7b4c Mon Sep 17 00:00:00 2001 From: JoeBanks13 Date: Sat, 17 Mar 2018 22:35:18 +0000 Subject: Fix help command issue (fetch 1st index) --- bot/formatter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3