fix documentation for GuildChannel.set_permissions
This commit is contained in:
parent
9687740217
commit
69364a25eb
@ -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…
x
Reference in New Issue
Block a user