diff options
author | 2021-10-08 07:58:23 +0200 | |
---|---|---|
committer | 2021-10-08 07:58:23 +0200 | |
commit | 0cc435c1e56260271bb6ff27fddd8d6971837feb (patch) | |
tree | 7b4cc69b1bfd1afd64bc02730a68c3c06cd008a5 | |
parent | Merge pull request #880 from python-discord/topic-command-cooldown (diff) |
Candy collection: fix positional arg being passed as kword
This caused a `TypeError` to be raised, as the `id` argument could only be used as a positional argument and not by keyword.
-rw-r--r-- | bot/exts/holidays/halloween/candy_collection.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/holidays/halloween/candy_collection.py b/bot/exts/holidays/halloween/candy_collection.py index 4afd5913..09bd0e59 100644 --- a/bot/exts/holidays/halloween/candy_collection.py +++ b/bot/exts/holidays/halloween/candy_collection.py @@ -134,7 +134,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.community_bot_commands) + return self.bot.get_channel(Channels.community_bot_commands) @staticmethod async def send_spook_msg( |