Correct help command ran on cogs
This commit is contained in:
parent
3ba4a41854
commit
200e332f33
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in a new issue