Browse Source

fix documentation for GuildChannel.set_permissions

pull/2255/head
Xua 6 years ago
committed by Rapptz
parent
commit
69364a25eb
  1. 5
      discord/abc.py

5
discord/abc.py

@ -552,8 +552,9 @@ class GuildChannel:
-----------
target: Union[:class:`~discord.Member`, :class:`~discord.Role`]
The member or role to overwrite permissions for.
overwrite: :class:`~discord.PermissionOverwrite`
The permissions to allow and deny to the target.
overwrite: Optional[:class:`~discord.PermissionOverwrite`]
The permissions to allow and deny to the target, or `None` to
delete the overwrite.
\*\*permissions
A keyword argument list of permissions to set for ease of use.
Cannot be mixed with ``overwrite``.

Loading…
Cancel
Save