Prepare for the discord.com domain rename
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user