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 f9120d44..d3fa453c 100644 --- a/discord/threads.py +++ b/discord/threads.py @@ -207,6 +207,11 @@ class Thread(Messageable, Hashable): return self.guild.get_member(self.owner_id) @property + def mention(self) -> str: + """:class:`str`: The string that allows you to mention the thread.""" + return f'<#{self.id}>' + + @property def last_message(self) -> Optional[Message]: """Fetches the last message from this channel in cache. |