1
0
mirror of https://github.com/Rapptz/discord.py.git synced 2025-05-14 01:40:02 +00:00

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

@ -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
------