Skip to content

Commit

Permalink
add a defer to the member refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
squi-ddy committed Jan 27, 2024
1 parent 09f72e8 commit 681309e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bot/src/cogs/member_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ async def export(

@subcommand(members, description="Give alumni role to those graduating")
async def refresh(self, interaction: Interaction) -> None:
await interaction.response.defer()

guild = self.cache.guild
alumni_role = self.cache.alumni_role

Expand Down

0 comments on commit 681309e

Please sign in to comment.