From 7c4837dc45409291f3a14da5b47fb01faba65df5 Mon Sep 17 00:00:00 2001 From: David Stephens Date: Tue, 9 Jul 2024 19:35:31 +0100 Subject: [PATCH] Fix Tildy reacting with dizzy to Webhooks where they don't have `manage_webhooks` permission --- botto/tld_botto.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/botto/tld_botto.py b/botto/tld_botto.py index c912970..40dc13b 100644 --- a/botto/tld_botto.py +++ b/botto/tld_botto.py @@ -443,7 +443,7 @@ async def on_message(self, message: Message): webhook = await self.fetch_webhook(webhook_id) if webhook.type != discord.WebhookType.incoming: return - except discord.NotFound: + except discord.NotFound | discord.Forbidden: pass if message.author.id == self.user.id: log.debug(f"Ignoring message {message.id} from self")