mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-04-20 07:54:36 +00:00
Fixed TextChannel edit method missing slowmode unit
This commit is contained in:
parent
7675dd03ca
commit
b8e45afe9a
@ -198,8 +198,8 @@ class TextChannel(discord.abc.Messageable, discord.abc.GuildChannel, Hashable):
|
||||
The new category for this channel. Can be ``None`` to remove the
|
||||
category.
|
||||
slowmode_delay: :class:`int`
|
||||
Specifies the slowmode rate limit for user in this channel. A value of
|
||||
`0` disables slowmode. The maximum value possible is `21600`.
|
||||
Specifies the slowmode rate limit for user in this channel, in seconds.
|
||||
A value of `0` disables slowmode. The maximum value possible is `21600`.
|
||||
reason: Optional[:class:`str`]
|
||||
The reason for editing this channel. Shows up on the audit log.
|
||||
|
||||
|
@ -676,8 +676,8 @@ class Guild(Hashable):
|
||||
topic: Optional[:class:`str`]
|
||||
The new channel's topic.
|
||||
slowmode_delay: :class:`int`
|
||||
Specifies the slowmode rate limit for user in this channel.
|
||||
The maximum value possible is `120`.
|
||||
Specifies the slowmode rate limit for user in this channel, in seconds.
|
||||
The maximum value possible is `21600`.
|
||||
nsfw: :class:`bool`
|
||||
To mark the channel as NSFW or not.
|
||||
reason: Optional[:class:`str`]
|
||||
|
Loading…
x
Reference in New Issue
Block a user