diff --git a/discord/threads.py b/discord/threads.py index 386aaabff3..7577b246a5 100644 --- a/discord/threads.py +++ b/discord/threads.py @@ -223,6 +223,14 @@ def mention(self) -> str: """:class:`str`: The string that allows you to mention the thread.""" return f"<#{self.id}>" + @property + def jump_url(self) -> str: + """:class:`str`: Returns a URL that allows the client to jump to the thread. + + .. versionadded:: 2.0 + """ + return f"https://discord.com/channels/{self.guild.id}/{self.id}" + @property def members(self) -> List[ThreadMember]: """List[:class:`ThreadMember`]: A list of thread members in this thread.