From ca575cedab2907d25109dc3ce28d4635ee32245d Mon Sep 17 00:00:00 2001 From: phxntxm Date: Sat, 20 Aug 2016 00:28:17 -0500 Subject: [PATCH] Corrected error where server_alerts was not saved --- cogs/mod.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cogs/mod.py b/cogs/mod.py index 9aca8ac..3f03201 100644 --- a/cogs/mod.py +++ b/cogs/mod.py @@ -21,6 +21,7 @@ class Mod: server_alerts = config.get_content('server_alerts') or {} # This will update/add the channel if an entry for this server exists or not server_alerts[ctx.message.server.id] = channel.id + config.save_content('server_alerts', server_alerts) await self.bot.say("I have just changed this server's 'notifications' channel" "\nAll notifications will now go to `{}`".format(channel))