From a8cc3ebfd331c148d1655f79174577691fddc484 Mon Sep 17 00:00:00 2001 From: Rafael Bradley Date: Sun, 16 Mar 2025 12:22:08 -0300 Subject: [PATCH] fix(shard): :bug: Fix `Payphone.get_or_fetch_channel()` raising 403 error. --- payphone/bot.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/payphone/bot.py b/payphone/bot.py index 37af3f2..a97d279 100644 --- a/payphone/bot.py +++ b/payphone/bot.py @@ -129,6 +129,9 @@ class Payphone(commands.AutoShardedBot): except discord.errors.NotFound: return None + except discord.errors.Forbidden: + return None + return channel async def get_prefix(