Fixed TextChannel edit method missing slowmode unit

This commit is contained in:
DevilXD 2019-04-29 11:47:32 +02:00 committed by Rapptz
parent 7675dd03ca
commit b8e45afe9a
2 changed files with 4 additions and 4 deletions

View File

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

View File

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