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

Fixed naming error

This commit is contained in:
Myned 2017-10-28 16:29:17 -04:00
parent ddc020e11d
commit 58db7ade4b

View file

@ -36,7 +36,7 @@ class MsG:
if u.tasks['auto_qual']: if u.tasks['auto_qual']:
for channel in u.tasks['auto_qual']: for channel in u.tasks['auto_qual']:
temp = self.bot.get_channel(channel) temp = self.bot.get_channel(channel)
self.bot.loop.create_task(self.qualiqueue_for_qualitification(temp)) self.bot.loop.create_task(self.queue_for_qualitification(temp))
print('AUTO-QUALITIFYING : #{}'.format(temp.name)) print('AUTO-QUALITIFYING : #{}'.format(temp.name))
self.bot.loop.create_task(self._qualitify()) self.bot.loop.create_task(self._qualitify())
self.qualitifying = True self.qualitifying = True
@ -50,13 +50,13 @@ 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.qualiqueue_for_qualitification(ctx.channel)) # self.bot.loop.create_task(self.queue_for_qualitification(ctx.channel))
# if not self.qualitifying: # if not self.qualitifying:
# self.bot.loop.create_task(self._qualitify()) # self.bot.loop.create_task(self._qualitify())
# self.qualitifying = True # self.qualitifying = 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)
# await ctx.message.add_reaction('\N{WHITE HEAVY CHECK MARK}') # await ctx.message.add_reaction('\N{WHITE HEAVY CHECK MARK}')
# else: # else:
# raise exc.Exists # raise exc.Exists
@ -484,7 +484,7 @@ class MsG:
if ctx.channel.id not in u.tasks['auto_qual']: if ctx.channel.id not in u.tasks['auto_qual']:
u.tasks['auto_qual'].append(ctx.channel.id) u.tasks['auto_qual'].append(ctx.channel.id)
u.dump(u.tasks, 'cogs/tasks.pkl') u.dump(u.tasks, 'cogs/tasks.pkl')
self.bot.loop.create_task(self.qualiqueue_for_qualitification(ctx.channel)) self.bot.loop.create_task(self.queue_for_qualitification(ctx.channel))
if not self.qualitifying: if not self.qualitifying:
self.bot.loop.create_task(self._qualitify()) self.bot.loop.create_task(self._qualitify())
self.qualitifying = True self.qualitifying = True