From 844768edb25f6ccd4131e4fceb8c76da47b88236 Mon Sep 17 00:00:00 2001 From: Myned Date: Mon, 20 Nov 2017 06:23:55 -0500 Subject: [PATCH] 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