From 3117e4e4bb46bd45fc9dba0ded4f8ff07ac49280 Mon Sep 17 00:00:00 2001 From: Lucas Hardt Date: Tue, 5 Sep 2023 17:40:59 +0200 Subject: [PATCH] Fix misleading Error documentation for Client.fetch_guild --- discord/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/client.py b/discord/client.py index c2d511a84..9121617b3 100644 --- a/discord/client.py +++ b/discord/client.py @@ -1925,8 +1925,8 @@ class Client: Raises ------ - Forbidden - You do not have access to the guild. + NotFound + The guild doesn't exist or you got no access to it. HTTPException Getting the guild failed.