From eab32f3b845123e5347bd35ee561bdc4795098ad Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Fri, 8 Jun 2018 13:03:06 -0800 Subject: [PATCH] sort cog_commands --- src/exts/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/exts/utils.py b/src/exts/utils.py index 9e83741..56ee76a 100644 --- a/src/exts/utils.py +++ b/src/exts/utils.py @@ -722,7 +722,7 @@ class Utils: f"Prefixes available for this guild:\n" f"> {prefixes}\n\uFFF7\n\uFFF8") for cog in sorted(self.bot.cogs): - for command in self.bot.get_cog_commands(cog): + for command in sorted(self.bot.get_cog_commands(cog)): if not command.hidden: pag.add(f'\uFFF6{command.name}') pag.add(f'> {command.short_doc}', truncate=True)