From 6ab976681cdf7a713fd873626d603e7447075aa9 Mon Sep 17 00:00:00 2001 From: phxntxm Date: Wed, 19 Jul 2017 18:08:03 -0500 Subject: [PATCH] Correct birthday channel id lookup --- cogs/birthday.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cogs/birthday.py b/cogs/birthday.py index 3bf38e5..b69ad1a 100644 --- a/cogs/birthday.py +++ b/cogs/birthday.py @@ -57,7 +57,7 @@ class Birthday: # Set our default to either the one set, or the default channel of the server default_channel_id = s.get('notifications', {}).get('default') or server.id # If it is has been overriden by picarto notifications setting, use this - channel_id = s.get('notifications', {}).get('birthdays') or default_channel_id + channel_id = s.get('notifications', {}).get('birthday') or default_channel_id # Now get the channel based on that ID channel = server.get_channel(int(channel_id)) or server.default_channel try: