Browse Source

abc.GuildChannel.set_permissions can raise NotFound.

Fix #1254
pull/1278/merge
Rapptz 7 years ago
parent
commit
0dafdedc65
  1. 2
      discord/abc.py

2
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`.

Loading…
Cancel
Save