From a0c510c950c568e8ed01b530dd7c42b256ecfaaf Mon Sep 17 00:00:00 2001 From: snipe <72265661+notsniped@users.noreply.github.com> Date: Thu, 9 May 2024 22:14:59 +0530 Subject: [PATCH] Add missing defer() trigger to /leaderboard_levels --- cogs/levelling.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/levelling.py b/cogs/levelling.py index 26202e7..87a65e1 100644 --- a/cogs/levelling.py +++ b/cogs/levelling.py @@ -67,6 +67,7 @@ async def edit_xp(self, ctx: ApplicationContext, user: discord.User, new_xp: int description="View the global leaderboard for user levelling ranks." ) async def leaderboard_levels(self, ctx: ApplicationContext): + await ctx.defer() levels = levelling.get_raw() levels_dict = dict() for person in levels: