Displaying 6 commands per page

pull/8/head
sgoudham 4 years ago
parent 1f092a1a46
commit 1337c6c193

@ -350,7 +350,7 @@ def _command_signature(cmd):
class HelpPaginator(Pages): class HelpPaginator(Pages):
def __init__(self, ctx, entries, *, per_page=4): def __init__(self, ctx, entries, *, per_page=6):
super().__init__(ctx, entries=entries, per_page=per_page) super().__init__(ctx, entries=entries, per_page=per_page)
self.reaction_emojis.append(('\N{WHITE QUESTION MARK ORNAMENT}', self.show_bot_help)) self.reaction_emojis.append(('\N{WHITE QUESTION MARK ORNAMENT}', self.show_bot_help))
self.total = len(entries) self.total = len(entries)
@ -419,7 +419,7 @@ class HelpPaginator(Pages):
entries = sorted(ctx.bot.commands, key=key) entries = sorted(ctx.bot.commands, key=key)
nested_pages = [] nested_pages = []
per_page = 4 per_page = 6
# 0: (cog, desc, commands) (max len == 9) # 0: (cog, desc, commands) (max len == 9)
# 1: (cog, desc, commands) (max len == 9) # 1: (cog, desc, commands) (max len == 9)

Loading…
Cancel
Save