fix(ranks): Refresh responds before waiting.
This commit is contained in:
@@ -101,6 +101,7 @@ class RankOverviewUI(MessageUI):
|
|||||||
Refresh the current ranks,
|
Refresh the current ranks,
|
||||||
ensuring that all members have the correct rank.
|
ensuring that all members have the correct rank.
|
||||||
"""
|
"""
|
||||||
|
await press.response.defer(thinking=True)
|
||||||
async with self.cog.ranklock(self.guild.id):
|
async with self.cog.ranklock(self.guild.id):
|
||||||
await self.cog.interactive_rank_refresh(press, self.guild)
|
await self.cog.interactive_rank_refresh(press, self.guild)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user