fix(ranks): Refresh responds before waiting.

This commit is contained in:
2023-10-06 10:27:09 +03:00
parent 28e9df192c
commit fa6bfe8b05

View File

@@ -101,6 +101,7 @@ class RankOverviewUI(MessageUI):
Refresh the current ranks,
ensuring that all members have the correct rank.
"""
await press.response.defer(thinking=True)
async with self.cog.ranklock(self.guild.id):
await self.cog.interactive_rank_refresh(press, self.guild)