Skip to content

Commit 7e12199

Browse files
committed
Update embed limits to 2048
1 parent 04df6ea commit 7e12199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogs/plugins.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ async def plugin_registry_compact(self, ctx):
347347
fmt = f"[`{name}`]({url}) - {desc}"
348348
length = len(fmt) - len(url) - 4
349349
fmt = fmt[:75 + len(url)].strip() + '...' if length > 75 else fmt
350-
if len(fmt) + len(pages[-1]) >= 1024:
350+
if len(fmt) + len(pages[-1]) >= 2048:
351351
pages.append(fmt+'\n')
352352
else:
353353
pages[-1] += fmt + '\n'
@@ -358,8 +358,8 @@ async def plugin_registry_compact(self, ctx):
358358
em = discord.Embed(
359359
color=self.bot.main_color,
360360
description=page,
361-
title='Plugin Registry (Compact View)',
362361
)
362+
em.set_author(name='Plugin Registry', icon_url=self.bot.user.avatar_url)
363363
embeds.append(em)
364364

365365
paginator = PaginatorSession(ctx, *embeds)

0 commit comments

Comments
 (0)