diff --git a/battleroyale/core.py b/battleroyale/core.py index ad6f603..b41628f 100644 --- a/battleroyale/core.py +++ b/battleroyale/core.py @@ -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,