aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
authorz03h <[email protected]>2021-07-20 23:47:15 -0700
committerGitHub <[email protected]>2021-07-21 02:47:15 -0400
commit48eb981344ccde628f33885712b3d4d10f88975d (patch)
tree697307eda53374081d699407fa2bc34e6d759f70 /discord
parentFix documentation note for interaction_check (diff)
downloaddiscord.py-48eb981344ccde628f33885712b3d4d10f88975d.tar.xz
discord.py-48eb981344ccde628f33885712b3d4d10f88975d.zip
Fix Thread.slowmode_delay not updating
Diffstat (limited to 'discord')
-rw-r--r--discord/threads.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/discord/threads.py b/discord/threads.py
index d1a89d83..682e56dd 100644
--- a/discord/threads.py
+++ b/discord/threads.py
@@ -188,6 +188,8 @@ class Thread(Messageable, Hashable):
except KeyError:
pass
+ self.slowmode_delay = data.get('rate_limit_per_user', 0)
+
try:
self._unroll_metadata(data['thread_metadata'])
except KeyError: