aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/candy_collection.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-11-21 01:06:18 +0100
committerGravatar GitHub <[email protected]>2020-11-21 01:06:18 +0100
commitbce8a0d2fceae622d24329d90a29e1e212f0a633 (patch)
treefd1dfe3bef8af3de11a0bb129b9f7e8755ec8f99 /bot/exts/halloween/candy_collection.py
parentMerge branch 'master' into redis-persist (diff)
parentRemove 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.py6
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(