1
0
Fork 0
mirror of synced 2024-05-07 06:02:24 +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__ cog_name = cog.__class__.__name__
# get the commands # 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 # remove the ones we can't run
entries = [ entries = [