mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-05-16 10:49:24 +00:00
Fix Thread.slowmode_delay not updating
This commit is contained in:
parent
feed302269
commit
48eb981344
@ -188,6 +188,8 @@ class Thread(Messageable, Hashable):
|
|||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
self.slowmode_delay = data.get('rate_limit_per_user', 0)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self._unroll_metadata(data['thread_metadata'])
|
self._unroll_metadata(data['thread_metadata'])
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user