abc.GuildChannel.set_permissions can raise NotFound.

Fix #1254
This commit is contained in:
Rapptz 2018-05-18 20:17:49 -04:00
parent 07a535f514
commit 0dafdedc65

View File

@ -549,6 +549,8 @@ class GuildChannel:
You do not have permissions to edit channel specific permissions. You do not have permissions to edit channel specific permissions.
HTTPException HTTPException
Editing channel specific permissions failed. Editing channel specific permissions failed.
NotFound
The role or member being edited is not part of the guild.
InvalidArgument InvalidArgument
The overwrite parameter invalid or the target type was not The overwrite parameter invalid or the target type was not
:class:`Role` or :class:`Member`. :class:`Role` or :class:`Member`.