Skip to content

Commit

Permalink
[BattleRoyale] fix lb
Browse files Browse the repository at this point in the history
  • Loading branch information
japandotorg committed Jul 19, 2024
1 parent b6c469b commit 25ed086
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions battleroyale/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,10 +548,10 @@ async def _leaderboard(
truncate(user.display_name, max=15),
]
)
description = box(table.get_string(), lang="sml")
string: str = table.get_string()
pages: List[str] = []
for page in pagify(description, page_length=2000):
pages.append(page)
for page in pagify(string, page_length=2000):
pages.append(box(page, lang="sml"))
await SimpleMenu(
pages=pages,
disable_after_timeout=True,
Expand Down

0 comments on commit 25ed086

Please sign in to comment.