aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRapptz <[email protected]>2018-05-18 20:17:49 -0400
committerRapptz <[email protected]>2018-05-18 20:17:49 -0400
commit0dafdedc65b3c6ed48fd0e417998659df3022987 (patch)
tree82e5ac4a4f9275fa9750ed6da15d9323903460a5
parentDocument user parameter in Guild.get_ban (diff)
downloaddiscord.py-0dafdedc65b3c6ed48fd0e417998659df3022987.tar.xz
discord.py-0dafdedc65b3c6ed48fd0e417998659df3022987.zip
abc.GuildChannel.set_permissions can raise NotFound.
Fix #1254
-rw-r--r--discord/abc.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/abc.py b/discord/abc.py
index 6a308fe5..c5b917ec 100644
--- a/discord/abc.py
+++ b/discord/abc.py
@@ -549,6 +549,8 @@ class GuildChannel:
You do not have permissions to edit channel specific permissions.
HTTPException
Editing channel specific permissions failed.
+ NotFound
+ The role or member being edited is not part of the guild.
InvalidArgument
The overwrite parameter invalid or the target type was not
:class:`Role` or :class:`Member`.