link getter

This commit is contained in:
Erik 2020-11-12 00:58:55 +02:00
parent d0d97173a4
commit 52e4eab9d6

View File

@ -182,6 +182,10 @@ const Message = Structures.extend('Message', (Message) => {
return str.trim();
}
get link() {
return `https://discord.com/channels/${this.guild.id}/${this.channel.id}/${this.id}`;
}
}
return ExtendedMessage;