diff options
author | 2019-04-23 18:28:04 +0100 | |
---|---|---|
committer | 2019-04-23 18:28:04 +0100 | |
commit | 1049ee3e51ca4dcc3faa6ab02f378fadf5ec231f (patch) | |
tree | 2c805615c0fb1d50642a9a97cdf4faaf8a953f2e /bot/seasons/christmas/adventofcode.py | |
parent | Merge pull request #187 from Suhail6inkling/avatar_easterifier (diff) |
Constants cleaning
Diffstat (limited to 'bot/seasons/christmas/adventofcode.py')
-rw-r--r-- | bot/seasons/christmas/adventofcode.py | 4 |
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") |