Skip to content

Commit

Permalink
defer immediately in /tag stats
Browse files Browse the repository at this point in the history
  • Loading branch information
lmaotrigine committed Oct 14, 2024
1 parent c9a1d45 commit 555b286
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cogs/tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ async def member_tag_stats(self, ctx: GuildContext, member: discord.Member | dis
async def stats(self, ctx: GuildContext, *, member: discord.User | None = None):
"""Gives tag statistics for a member or the server."""

await ctx.defer()
if member is None:
await self.guild_tag_stats(ctx)
else:
Expand Down

0 comments on commit 555b286

Please sign in to comment.