aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/fun/duck_pond.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/fun/duck_pond.py b/bot/exts/fun/duck_pond.py
index 8968c766d..8baa53026 100644
--- a/bot/exts/fun/duck_pond.py
+++ b/bot/exts/fun/duck_pond.py
@@ -171,7 +171,7 @@ class DuckPond(Cog):
await self.bot.wait_until_guild_available()
guild = self.bot.get_guild(payload.guild_id)
- channel = discord.utils.get(guild.text_channels + guild.threads, id=payload.channel_id)
+ channel = guild.get_channel_or_thread(payload.channel_id)
if channel is None:
return