From 1538c788364c10f5b72a9a379570adee6ad0fce7 Mon Sep 17 00:00:00 2001 From: Rapptz Date: Fri, 29 Jun 2018 21:50:38 -0400 Subject: [PATCH] Change jump_to_url to jump_url and fix format. People kept asking, might as well. --- discord/message.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/discord/message.py b/discord/message.py index 38893a79b..c77e73783 100644 --- a/discord/message.py +++ b/discord/message.py @@ -434,10 +434,10 @@ class Message: return self._edited_timestamp @property - def jump_to_url(self): + def jump_url(self): """:class:`str`: Returns a URL that allows the client to jump to this message.""" guild_id = getattr(self.guild, 'id', '@me') - return 'https://discordapp.com/channels/{0}/{1.channel.id}?jump={1.id}'.format(guild_id, self) + return 'https://discordapp.com/channels/{0}/{1.channel.id}/{1.id}'.format(guild_id, self) @utils.cached_slot_property('_cs_system_content') def system_content(self):