diff options
| author | 2022-09-18 22:03:34 +0100 | |
|---|---|---|
| committer | 2022-09-18 22:03:34 +0100 | |
| commit | 46d1e8ddb217f1bb5e07179b32db50b6a04b6de8 (patch) | |
| tree | c3f4db63c2751c51acfee97d016551b8f677e29b /bot/exts/holidays/halloween/candy_collection.py | |
| parent | Remove unnecessary hasattr check (diff) | |
| parent | Fix Poetry 1.2 Support (#1099) (diff) | |
Merge branch 'main' into fix-whitelist-inheritance
Diffstat (limited to 'bot/exts/holidays/halloween/candy_collection.py')
| -rw-r--r-- | bot/exts/holidays/halloween/candy_collection.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bot/exts/holidays/halloween/candy_collection.py b/bot/exts/holidays/halloween/candy_collection.py index 729bbc97..220ba8e5 100644 --- a/bot/exts/holidays/halloween/candy_collection.py +++ b/bot/exts/holidays/halloween/candy_collection.py @@ -55,7 +55,7 @@ class CandyCollection(commands.Cog): if message.author.bot: return # ensure it's hacktober channel - if message.channel.id != Channels.community_bot_commands: + if message.channel.id != Channels.sir_lancebot_playground: return # do random check for skull first as it has the lower chance @@ -77,7 +77,7 @@ class CandyCollection(commands.Cog): return # check to ensure it is in correct channel - if message.channel.id != Channels.community_bot_commands: + if message.channel.id != Channels.sir_lancebot_playground: return # if its not a candy or skull, and it is one of 10 most recent messages, @@ -139,7 +139,7 @@ class CandyCollection(commands.Cog): @property def hacktober_channel(self) -> discord.TextChannel: """Get #hacktoberbot channel from its ID.""" - return self.bot.get_channel(Channels.community_bot_commands) + return self.bot.get_channel(Channels.sir_lancebot_playground) @staticmethod async def send_spook_msg( |