From 1ad45f585f271270d5215c6a20cc2c57279505e6 Mon Sep 17 00:00:00 2001 From: Gooraeng <101193491+Gooraeng@users.noreply.github.com> Date: Thu, 10 Oct 2024 06:46:07 +0900 Subject: [PATCH] Add missing error for Guild.fetch_automod_rule --- discord/guild.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/discord/guild.py b/discord/guild.py index 5fd60a853..fc39179ab 100644 --- a/discord/guild.py +++ b/discord/guild.py @@ -4353,6 +4353,8 @@ class Guild(Hashable): ------- Forbidden You do not have permission to view the automod rule. + NotFound + The automod rule does not exist within this guild. Returns --------