From 69364a25eb65e1d6e13182ccb24c00794b8a8547 Mon Sep 17 00:00:00 2001 From: Xua Date: Thu, 27 Jun 2019 20:02:09 +1200 Subject: [PATCH] fix documentation for GuildChannel.set_permissions --- discord/abc.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/discord/abc.py b/discord/abc.py index e723b17af..73c12e53b 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``.