From 18c7e1091ac61e1bb9ef3dae96800a8793067f1a Mon Sep 17 00:00:00 2001 From: gustavwilliam <65498475+gustavwilliam@users.noreply.github.com> Date: Mon, 21 Sep 2020 23:21:52 +0200 Subject: Update max_size of paginator - Should prevent `RuntimeError: Line exceeds maximum page size 698` Co-authored-by: Dennis Pham --- bot/exts/utils/extensions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot/exts/utils/extensions.py') 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.""" -- cgit v1.2.3