1
0
Fork 0
mirror of https://github.com/myned/modufur.git synced 2024-12-24 14:27:27 +00:00

Fixed autopost referencing incorrect variables

This commit is contained in:
Myned 2017-11-19 23:33:45 -05:00
parent 5357de24b3
commit 3bdf7f88d7

View file

@ -94,10 +94,10 @@ class MsG:
# if ctx.channel.id not in u.tasks['auto_post']: # if ctx.channel.id not in u.tasks['auto_post']:
# u.tasks['auto_post'].append(ctx.channel.id) # u.tasks['auto_post'].append(ctx.channel.id)
# u.dump(u.tasks, 'cogs/tasks.pkl') # u.dump(u.tasks, 'cogs/tasks.pkl')
# self.bot.loop.create_task(self.queue_for_qualitification(ctx.channel)) # self.bot.loop.create_task(self.queue_for_posting(ctx.channel))
# if not self.qualitifying: # if not self.posting:
# self.bot.loop.create_task(self._qualitify()) # self.bot.loop.create_task(self._post())
# self.qualitifying = True # self.posting = True
# #
# print('AUTO-POSTING : #{}'.format(ctx.channel.name)) # print('AUTO-POSTING : #{}'.format(ctx.channel.name))
# await ctx.send('**Auto-posting all images in {}**'.format(ctx.channel.mention), delete_after=5) # await ctx.send('**Auto-posting all images in {}**'.format(ctx.channel.mention), delete_after=5)