diff options
| author | 2020-11-21 01:20:13 +0100 | |
|---|---|---|
| committer | 2020-11-21 01:20:13 +0100 | |
| commit | 8a57e92f3200ceb598e8c8c5faf39dcf24dd3e89 (patch) | |
| tree | 209c0a329bd5ca7811471e7fce7b7551d2f809ae /bot/exts/halloween/candy_collection.py | |
| parent | Header image for Sir Lancebot (diff) | |
| parent | Merge pull request #528 from python-discord/lemon/refactor/seasonalbot_name_c... (diff) | |
Merge branch 'master' of github.com:python-discord/seasonalbot
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(  |