aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevilXD <[email protected]>2019-04-29 11:47:32 +0200
committerRapptz <[email protected]>2019-04-29 23:34:17 -0400
commitb8e45afe9afe4ff49e832e967971cb22e2b9e310 (patch)
tree869cd1a950ab8ef655003dfa69c6ece053f54ef4
parentAdded missing get_role method to the faq. (diff)
downloaddiscord.py-b8e45afe9afe4ff49e832e967971cb22e2b9e310.tar.xz
discord.py-b8e45afe9afe4ff49e832e967971cb22e2b9e310.zip
Fixed TextChannel edit method missing slowmode unit
-rw-r--r--discord/channel.py4
-rw-r--r--discord/guild.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/discord/channel.py b/discord/channel.py
index c346bfcc..73205cfe 100644
--- a/discord/channel.py
+++ b/discord/channel.py
@@ -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.
diff --git a/discord/guild.py b/discord/guild.py
index 53a20498..3dd28533 100644
--- a/discord/guild.py
+++ b/discord/guild.py
@@ -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`]