fix documentation for GuildChannel.set_permissions

This commit is contained in:
Xua 2019-06-27 20:02:09 +12:00 committed by Rapptz
parent 9687740217
commit 69364a25eb

View File

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