From 12f8fb3964ee24c01e38c58d0ca3b292fa875166 Mon Sep 17 00:00:00 2001 From: Phxntxm Date: Thu, 11 Aug 2016 14:02:47 -0500 Subject: [PATCH] Corrected which channel's ID's are saved --- cogs/mod.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cogs/mod.py b/cogs/mod.py index f40ab89..715bf3d 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -19,7 +19,9 @@ class Mod: """This command is used to set a channel as the server's 'notifications' channel Any notifications (like someone going live on Twitch, or Picarto) will go to that channel""" server_alerts = config.getContent('server_alerts') or {} - server_alerts[ctx.message.server.id] = ctx.message.channel.id + server_alerts[ctx.message.server.id] = channel.id + await self.bot.say("I have just changed this server's 'notifications' channel" + "All notifications will now go to {}".format(channel)) @commands.command(pass_context=True, no_pm=True) @checks.customPermsOrRole(kick_members=True)