Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.

Commit a0c510c

Browse files
authored
Add missing defer() trigger to /leaderboard_levels
1 parent 843fd11 commit a0c510c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cogs/levelling.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ async def edit_xp(self, ctx: ApplicationContext, user: discord.User, new_xp: int
6767
description="View the global leaderboard for user levelling ranks."
6868
)
6969
async def leaderboard_levels(self, ctx: ApplicationContext):
70+
await ctx.defer()
7071
levels = levelling.get_raw()
7172
levels_dict = dict()
7273
for person in levels:

0 commit comments

Comments
 (0)