mirror of
https://github.com/myned/modufur.git
synced 2024-12-25 06:37:29 +00:00
Fixed naming error
This commit is contained in:
parent
ddc020e11d
commit
58db7ade4b
1 changed files with 4 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue