From c49f33d2fd0b70eb2830f1e6688543ef9f74a696 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 19 Nov 2017 23:02:24 -0500 Subject: [PATCH] Definition logic --- 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 c56e04c..56b3e7e 100644 --- a/src/main/cogs/management.py +++ b/src/main/cogs/management.py @@ -25,8 +25,8 @@ class Administration: temp = self.bot.get_channel(channel) self.bot.loop.create_task(self.queue_for_deletion(temp)) print('AUTO-DELETING : #{}'.format(temp.id)) - self.bot.loop.create_task(self.delete()) self.deleting = True + self.bot.loop.create_task(self.delete()) @commands.command(name=',prunefromguild', aliases=[',pfg', ',prunefromserver', ',pfs'], brief='Prune a user\'s messages from the guild', description='about flag centers on message 50 of 101 messages\n\npfg \{user id\} [before|after|about] [\{message id\}]\n\nExample:\npfg \{user id\} before \{message id\}') @commands.is_owner()