aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly <[email protected]>2020-01-19 15:42:27 -0500
committerGitHub <[email protected]>2020-01-19 15:42:27 -0500
commit43e38654e9e20f31f13d01d71525869b732c1282 (patch)
tree300d2f3b529565aa12c77baebe52bf5eee77acee
parentAdd instance check to PermissionOvewrite.__eq__ (diff)
downloaddiscord.py-43e38654e9e20f31f13d01d71525869b732c1282.tar.xz
discord.py-43e38654e9e20f31f13d01d71525869b732c1282.zip
Added docs for overwrites kwarg for CategoryChannel.edit
-rw-r--r--discord/channel.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/channel.py b/discord/channel.py
index 2eb7b88b..385f91c2 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -772,6 +772,11 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable):
To mark the category as NSFW or not.
reason: Optional[:class:`str`]
The reason for editing this category. Shows up on the audit log.
+ overwrites: :class:`dict`
+ A :class:`dict` of target (either a role or a member) to
+ :class:`PermissionOverwrite` to apply to the channel.
+
+ .. versionadded:: 1.3.0
Raises
------