mirror of
https://github.com/Rapptz/discord.py.git
synced 2025-10-24 18:13:00 +00:00
Add ThreadMember.thread
This commit is contained in:
@@ -448,3 +448,8 @@ class ThreadMember(Hashable):
|
|||||||
|
|
||||||
self.joined_at = parse_time(data['join_timestamp'])
|
self.joined_at = parse_time(data['join_timestamp'])
|
||||||
self.flags = data['flags']
|
self.flags = data['flags']
|
||||||
|
|
||||||
|
@property
|
||||||
|
def thread(self) -> Thread:
|
||||||
|
""":class:`Thread`: The thread this member belongs to."""
|
||||||
|
return self.parent
|
||||||
|
|||||||
Reference in New Issue
Block a user