aboutsummaryrefslogtreecommitdiffstats
path: root/bot/seasons/christmas/adventofcode.py
diff options
context:
space:
mode:
authorGravatar Chris Goes <[email protected]>2019-04-28 13:37:01 -0600
committerGravatar GitHub <[email protected]>2019-04-28 13:37:01 -0600
commitb04385e74c8b68dddb9a98f7ef41d6daf139caad (patch)
tree2c805615c0fb1d50642a9a97cdf4faaf8a953f2e /bot/seasons/christmas/adventofcode.py
parentMerge pull request #187 from Suhail6inkling/avatar_easterifier (diff)
parentConstants cleaning (diff)
Merge pull request #198 from Suhail6inkling/constants_fix
Constants - Spring Cleaning
Diffstat (limited to 'bot/seasons/christmas/adventofcode.py')
-rw-r--r--bot/seasons/christmas/adventofcode.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/seasons/christmas/adventofcode.py b/bot/seasons/christmas/adventofcode.py
index 5d05dce6..32858673 100644
--- a/bot/seasons/christmas/adventofcode.py
+++ b/bot/seasons/christmas/adventofcode.py
@@ -13,7 +13,7 @@ from bs4 import BeautifulSoup
from discord.ext import commands
from pytz import timezone
-from bot.constants import AdventOfCode as AocConfig, Colours, Emojis, Tokens
+from bot.constants import AdventOfCode as AocConfig, Channels, Colours, Emojis, Tokens
log = logging.getLogger(__name__)
@@ -88,7 +88,7 @@ async def day_countdown(bot: commands.Bot):
await asyncio.sleep(time_left.seconds)
- channel = bot.get_channel(AocConfig.channel_id)
+ channel = bot.get_channel(Channels.seasonalbot_chat)
if not channel:
log.error("Could not find the AoC channel to send notification in")