From 98c84c8442380c524af2712e20f595fd56dbc48c Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Fri, 8 Jun 2018 11:57:14 -0800 Subject: [PATCH] sort cogs set --- 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 919c05a..2aa0ca5 100644 --- a/src/exts/utils.py +++ b/src/exts/utils.py @@ -705,7 +705,7 @@ class Utils: pag = utils.Paginator(self.bot, embed=True, max_line_length=44) if command is None: pag.add('\uFFF6My new help\nTest message\n\uFFF7\n\uFFF8') - for cog in self.bot.cogs: + for cog in sorted(self.bot.cogs): for command in self.bot.get_cog_commands(cog): if not command.hidden: pag.add(f'\uFFF6{command.name}')