Browse Source
Fix Thread.slowmode_delay not updating
pull/7269/head
z03h
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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: |
|
|
|