aboutsummaryrefslogtreecommitdiffstats
path: root/bot/exts/halloween/candy_collection.py
diff options
context:
space:
mode:
authorGravatar Leon Sandøy <[email protected]>2020-11-21 00:30:58 +0100
committerGravatar Leon Sandøy <[email protected]>2020-11-21 00:30:58 +0100
commit16417225e7c0bfbb4260d51722c2f68696e7ccd6 (patch)
tree4a22678232104c6bee8c67edeea8a16a8d3e963b /bot/exts/halloween/candy_collection.py
parentMake the bot name less hard-coded. (diff)
Remove references to old name.
I've tried to replace this with generic references where appropriate, but a lot of the time it just doesn't make a lot of sense to do so.
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(