diff options
| author | z03h <[email protected]> | 2021-07-20 23:47:15 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-07-21 02:47:15 -0400 |
| commit | 48eb981344ccde628f33885712b3d4d10f88975d (patch) | |
| tree | 697307eda53374081d699407fa2bc34e6d759f70 /discord | |
| parent | Fix documentation note for interaction_check (diff) | |
| download | discord.py-48eb981344ccde628f33885712b3d4d10f88975d.tar.xz discord.py-48eb981344ccde628f33885712b3d4d10f88975d.zip | |
Fix Thread.slowmode_delay not updating
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/threads.py | 2 |
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: |