Skip to content

Commit 496ec00

Browse files
committed
2 parents 21637a8 + d7ad1dc commit 496ec00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cogs/plugins.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ async def plugin_registry_compact(self, ctx):
423423
fmt = f"[`{name}`]({url}) - {desc}"
424424
length = len(fmt) - len(url) - 4
425425
fmt = fmt[:75 + len(url)].strip() + '...' if length > 75 else fmt
426-
if len(fmt) + len(pages[-1]) >= 1024:
426+
if len(fmt) + len(pages[-1]) >= 2048:
427427
pages.append(fmt+'\n')
428428
else:
429429
pages[-1] += fmt + '\n'
@@ -434,8 +434,8 @@ async def plugin_registry_compact(self, ctx):
434434
em = discord.Embed(
435435
color=self.bot.main_color,
436436
description=page,
437-
title='Plugin Registry (Compact View)',
438437
)
438+
em.set_author(name='Plugin Registry', icon_url=self.bot.user.avatar_url)
439439
embeds.append(em)
440440

441441
paginator = PaginatorSession(ctx, *embeds)

0 commit comments

Comments
 (0)