aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar gustavwilliam <[email protected]>2020-09-21 23:21:52 +0200
committerGravatar GitHub <[email protected]>2020-09-21 23:21:52 +0200
commit18c7e1091ac61e1bb9ef3dae96800a8793067f1a (patch)
tree9395c8364c38af33355702c94951c81c4d575238
parentFix core developers role id (diff)
Update max_size of paginator
- Should prevent `RuntimeError: Line exceeds maximum page size 698` Co-authored-by: Dennis Pham <[email protected]>
-rw-r--r--bot/exts/utils/extensions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/utils/extensions.py b/bot/exts/utils/extensions.py
index c449a727..b9e58cb8 100644
--- a/bot/exts/utils/extensions.py
+++ b/bot/exts/utils/extensions.py
@@ -168,7 +168,7 @@ class Extensions(commands.Cog):
lines.append(f"**{category}**\n{extensions}\n")
log.debug(f"{ctx.author} requested a list of all cogs. Returning a paginated list.")
- await LinePaginator.paginate(lines, ctx, embed, max_size=700, empty=False)
+ await LinePaginator.paginate(lines, ctx, embed, max_size=1200, empty=False)
def group_extension_statuses(self) -> t.Mapping[str, str]:
"""Return a mapping of extension names and statuses to their categories."""