Prepare for the discord.com domain rename

This commit is contained in:
Rapptz
2020-05-23 21:44:30 -04:00
parent 017591dc9e
commit 66c6be50d8
16 changed files with 33 additions and 33 deletions

View File

@ -620,7 +620,7 @@ class Message:
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}/{1.id}'.format(guild_id, self)
return 'https://discord.com/channels/{0}/{1.channel.id}/{1.id}'.format(guild_id, self)
def is_system(self):
""":class:`bool`: Whether the message is a system message.