From b21d3f7a969ec6befe7f013cb79890fe5d0d3bde Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 20 Nov 2017 06:23:25 -0500 Subject: [PATCH 1/2] Removed missed qual > rev conversion --- src/main/cogs/booru.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/cogs/booru.py b/src/main/cogs/booru.py index f632d06..577c2cf 100644 --- a/src/main/cogs/booru.py +++ b/src/main/cogs/booru.py @@ -512,7 +512,7 @@ class MsG: self.bot.loop.create_task(self._reversify()) self.reversifying = True - print('AUTO-QUALITIFYING : #{}'.format(ctx.channel.name)) + print('AUTO-REVERSIFYING : #{}'.format(ctx.channel.name)) await ctx.send('**Auto-reversifying all images in** {}'.format(ctx.channel.mention), delete_after=5) else: await ctx.send('**Already auto-reversifying in {}.** Type `stop` to stop.'.format(ctx.channel.mention), delete_after=7) From 844768edb25f6ccd4131e4fceb8c76da47b88236 Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 20 Nov 2017 06:23:55 -0500 Subject: [PATCH 2/2] Changed stdoutput to use channel names instead of IDs --- src/main/cogs/management.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/cogs/management.py b/src/main/cogs/management.py index a358438..7b40303 100644 --- a/src/main/cogs/management.py +++ b/src/main/cogs/management.py @@ -150,7 +150,7 @@ class Administration: u.dump(u.tasks, 'cogs/tasks.pkl') if not u.tasks['auto_del']: self.deleting = False - print('STOPPED : deleting #{}'.format(channel.id)) + print('STOPPED : deleting #{}'.format(channel.name)) await channel.send('**Stopped queueing messages for deletion in** {}'.format(channel.mention), delete_after=5) @cmds.command(name='autodelete', aliases=['autodel']) @@ -164,7 +164,7 @@ class Administration: if not self.deleting: self.bot.loop.create_task(self.delete()) self.deleting = True - print('AUTO-DELETING : #{}'.format(ctx.channel.id)) + print('AUTO-DELETING : #{}'.format(ctx.channel.name)) await ctx.send('**Auto-deleting all messages in {}**'.format(ctx.channel.mention), delete_after=5) else: raise exc.Exists