forked from Galactic/galactic-bot
link getter
This commit is contained in:
parent
d0d97173a4
commit
52e4eab9d6
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user