1
0
Fork 0
mirror of synced 2024-06-27 02:31:04 +12:00

Corrected error where server_alerts was not saved

This commit is contained in:
phxntxm 2016-08-20 00:28:17 -05:00
parent 880fa0e17b
commit ca575cedab

View file

@ -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))