mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-03-15 05:41:51 +00:00
starboard: include link to original message
This commit is contained in:
parent
7139d81a5e
commit
4a33932ffa
1 changed files with 4 additions and 1 deletions
|
@ -287,7 +287,10 @@ export class StarboardPlugin extends ZeppelinPlugin {
|
|||
}
|
||||
}
|
||||
|
||||
const starboardMessage = await (channel as TextChannel).createMessage({ embed });
|
||||
const starboardMessage = await (channel as TextChannel).createMessage({
|
||||
content: `https://discordapp.com/channels/${this.guildId}/${msg.channel.id}/${msg.id}`,
|
||||
embed
|
||||
});
|
||||
await this.starboards.createStarboardMessage(starboard.id, msg.id, starboardMessage.id);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue