1
0
Fork 0
mirror of synced 2024-04-26 16:52:27 +12:00

Correct help command ran on cogs

This commit is contained in:
Dan Hess 2020-12-21 15:59:38 -06:00
parent 3ba4a41854
commit 200e332f33

View file

@ -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 = [