Added docs for overwrites kwarg for CategoryChannel.edit

This commit is contained in:
Willy 2020-01-19 15:42:27 -05:00 committed by GitHub
parent 650beee53d
commit 43e38654e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -772,6 +772,11 @@ class CategoryChannel(discord.abc.GuildChannel, Hashable):
To mark the category as NSFW or not. To mark the category as NSFW or not.
reason: Optional[:class:`str`] reason: Optional[:class:`str`]
The reason for editing this category. Shows up on the audit log. 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 Raises
------ ------