From 444d7e34c1d529d53b2c2cb09cd2a32d53a1a163 Mon Sep 17 00:00:00 2001 From: Myned Date: Tue, 17 Oct 2017 02:28:44 -0400 Subject: [PATCH] Increased deletion timeout to 10 mins --- src/main/cogs/management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cogs/management.py b/src/main/cogs/management.py index 377dc9b..c14f21e 100644 --- a/src/main/cogs/management.py +++ b/src/main/cogs/management.py @@ -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()