mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-19 15:36:02 +00:00
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`]
|
||||
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…
x
Reference in New Issue
Block a user