Skip to content

Commit 6439c2f

Browse files
committed
Add NotFound detail
1 parent e3e0e14 commit 6439c2f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

discord/guild.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2961,6 +2961,9 @@ async def welcome_screen(self):
29612961
You do not have the proper permissions to get this.
29622962
HTTPException
29632963
Retrieving the welcome screen failed somehow.
2964+
NotFound
2965+
The guild doesn't has a welcome screen or community feature is disabled.
2966+
29642967
29652968
Returns
29662969
--------

0 commit comments

Comments
 (0)