mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-09-04 08:56:19 +00:00
Update flags and applied tags on thread update
This commit is contained in:
committed by
GitHub
parent
9ed5fbecea
commit
e8f6b29a2d
@ -210,6 +210,8 @@ class Thread(Messageable, Hashable):
|
||||
pass
|
||||
|
||||
self.slowmode_delay = data.get('rate_limit_per_user', 0)
|
||||
self._flags: int = data.get('flags', 0)
|
||||
self._applied_tags: array.array[int] = array.array('Q', map(int, data.get('applied_tags', [])))
|
||||
|
||||
try:
|
||||
self._unroll_metadata(data['thread_metadata'])
|
||||
|
Reference in New Issue
Block a user