From 3bdf7f88d793f9b4338abaac58a4a16f4e997949 Mon Sep 17 00:00:00 2001 From: Myned Date: Sun, 19 Nov 2017 23:33:45 -0500 Subject: [PATCH] Fixed autopost referencing incorrect variables --- src/main/cogs/booru.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/cogs/booru.py b/src/main/cogs/booru.py index e388d81..efe4b11 100644 --- a/src/main/cogs/booru.py +++ b/src/main/cogs/booru.py @@ -94,10 +94,10 @@ class MsG: # if ctx.channel.id not in u.tasks['auto_post']: # u.tasks['auto_post'].append(ctx.channel.id) # u.dump(u.tasks, 'cogs/tasks.pkl') - # self.bot.loop.create_task(self.queue_for_qualitification(ctx.channel)) - # if not self.qualitifying: - # self.bot.loop.create_task(self._qualitify()) - # self.qualitifying = True + # self.bot.loop.create_task(self.queue_for_posting(ctx.channel)) + # if not self.posting: + # self.bot.loop.create_task(self._post()) + # self.posting = True # # print('AUTO-POSTING : #{}'.format(ctx.channel.name)) # await ctx.send('**Auto-posting all images in {}**'.format(ctx.channel.mention), delete_after=5)