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`] target: Union[:class:`~discord.Member`, :class:`~discord.Role`]
The member or role to overwrite permissions for. The member or role to overwrite permissions for.
overwrite: :class:`~discord.PermissionOverwrite` overwrite: Optional[:class:`~discord.PermissionOverwrite`]
The permissions to allow and deny to the target. The permissions to allow and deny to the target, or `None` to
delete the overwrite.
\*\*permissions \*\*permissions
A keyword argument list of permissions to set for ease of use. A keyword argument list of permissions to set for ease of use.
Cannot be mixed with ``overwrite``. Cannot be mixed with ``overwrite``.

Loading…
Cancel
Save