mirror of
https://github.com/myned/modufur.git
synced 2024-11-01 21:02:38 +00:00
Increased deletion timeout to 10 mins
This commit is contained in:
parent
a9226660e6
commit
444d7e34c1
1 changed files with 1 additions and 1 deletions
|
@ -77,7 +77,7 @@ class Administration:
|
|||
history = [message for message in history if message.author.id is user]
|
||||
est_sent = await ctx.send('⏱ **Estimated time to delete history:** `{}m {}s`'.format(int(self.RATE_LIMIT * len(history) / 60), int(self.RATE_LIMIT * len(history) % 60)))
|
||||
cont_sent = await ctx.send('{} **Continue?** `Y` or `N`'.format(ctx.author.mention))
|
||||
await self.bot.wait_for('message', check=yes, timeout=60)
|
||||
await self.bot.wait_for('message', check=yes, timeout=10 * 60)
|
||||
await cont_sent.delete()
|
||||
del_sent = await ctx.send('🗑 **Deleting messages...**')
|
||||
await del_sent.pin()
|
||||
|
|
Loading…
Reference in a new issue