aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--discord/abc.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/discord/abc.py b/discord/abc.py
index e723b17a..73c12e53 100644
--- a/discord/abc.py
+++ b/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``.