Change jump_to_url to jump_url and fix format.

People kept asking, might as well.
This commit is contained in:
Rapptz 2018-06-29 21:50:38 -04:00
parent 74380cd72a
commit 1538c78836

View File

@ -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):