diff options
Diffstat (limited to 'discord')
| -rw-r--r-- | discord/threads.py | 5 |
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 |