aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar ChrisJL <[email protected]>2021-10-08 14:30:33 +0100
committerGravatar GitHub <[email protected]>2021-10-08 14:30:33 +0100
commit354487810da11a8060a3ee03791c6cba0e6e8121 (patch)
tree7b4cc69b1bfd1afd64bc02730a68c3c06cd008a5
parentMerge pull request #880 from python-discord/topic-command-cooldown (diff)
parentCandy collection: fix positional arg being passed as kword (diff)
Merge pull request #893 from python-discord/bug/candy-collection/fix-typeerror-id
Candy collection: fix positional arg being passed as kword
-rw-r--r--bot/exts/holidays/halloween/candy_collection.py2
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(