aboutsummaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/threads.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/discord/threads.py b/discord/threads.py
index fbdf7a23..1a8a6af1 100644
--- a/discord/threads.py
+++ b/discord/threads.py
@@ -448,3 +448,8 @@ class ThreadMember(Hashable):
self.joined_at = parse_time(data['join_timestamp'])
self.flags = data['flags']
+
+ @property
+ def thread(self) -> Thread:
+ """:class:`Thread`: The thread this member belongs to."""
+ return self.parent