Skip to content

Commit

Permalink
Fix Tildy reacting with dizzy to Webhooks where they don't have `mana…
Browse files Browse the repository at this point in the history
…ge_webhooks` permission
  • Loading branch information
dwrss committed Jul 9, 2024
1 parent 04f4b94 commit 7c4837d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botto/tld_botto.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 7c4837d

Please sign in to comment.