Nadir Chowdhury
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
|
|
@ -166,6 +166,8 @@ class Thread(Messageable, Hashable): |
|
|
|
self._type = try_enum(ChannelType, data['type']) |
|
|
|
self.last_message_id = _get_as_snowflake(data, 'last_message_id') |
|
|
|
self.slowmode_delay = data.get('rate_limit_per_user', 0) |
|
|
|
self.message_count = data['message_count'] |
|
|
|
self.member_count = data['member_count'] |
|
|
|
self._unroll_metadata(data['thread_metadata']) |
|
|
|
|
|
|
|
try: |
|
|
|