Browse Source
Added docs for overwrites kwarg for CategoryChannel.edit
pull/2514/head
Willy
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
5 additions and
0 deletions
-
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 |
|
|
|
------ |
|
|
|