From 200e332f330c50002c999f1f72ccd643994b3086 Mon Sep 17 00:00:00 2001 From: Dan Hess Date: Mon, 21 Dec 2020 15:59:38 -0600 Subject: [PATCH] Correct help command ran on cogs --- utils/paginator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/paginator.py b/utils/paginator.py index a7f572c..5f8e01f 100644 --- a/utils/paginator.py +++ b/utils/paginator.py @@ -374,7 +374,7 @@ class HelpPaginator(Pages): cog_name = cog.__class__.__name__ # get the commands - entries = sorted(ctx.bot.get_cog_commands(cog_name), key=lambda c: c.name) + entries = sorted(ctx.bot.get_cog(cog_name).get_commands(), key=lambda c: c.name) # remove the ones we can't run entries = [