diff options
| author | 2020-11-21 01:06:18 +0100 | |
|---|---|---|
| committer | 2020-11-21 01:06:18 +0100 | |
| commit | bce8a0d2fceae622d24329d90a29e1e212f0a633 (patch) | |
| tree | fd1dfe3bef8af3de11a0bb129b9f7e8755ec8f99 /bot/exts/halloween/candy_collection.py | |
| parent | Merge branch 'master' into redis-persist (diff) | |
| parent | Remove dead ShowProjects cog. (diff) | |
Merge pull request #528 from python-discord/lemon/refactor/seasonalbot_name_change
Rebrand bot to Sir Lancebot.
Diffstat (limited to 'bot/exts/halloween/candy_collection.py')
| -rw-r--r-- | bot/exts/halloween/candy_collection.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/halloween/candy_collection.py b/bot/exts/halloween/candy_collection.py index 33e18b24..0cb37ecd 100644 --- a/bot/exts/halloween/candy_collection.py +++ b/bot/exts/halloween/candy_collection.py @@ -51,7 +51,7 @@ class CandyCollection(commands.Cog): if message.author.bot: return # ensure it's hacktober channel - if message.channel.id != Channels.seasonalbot_commands: + if message.channel.id != Channels.community_bot_commands: return # do random check for skull first as it has the lower chance @@ -73,7 +73,7 @@ class CandyCollection(commands.Cog): return # check to ensure it is in correct channel - if message.channel.id != Channels.seasonalbot_commands: + if message.channel.id != Channels.community_bot_commands: return # if its not a candy or skull, and it is one of 10 most recent messages, @@ -130,7 +130,7 @@ class CandyCollection(commands.Cog): @property def hacktober_channel(self) -> discord.TextChannel: """Get #hacktoberbot channel from its ID.""" - return self.bot.get_channel(id=Channels.seasonalbot_commands) + return self.bot.get_channel(id=Channels.community_bot_commands) @staticmethod async def send_spook_msg( |