feat: use reply instead

Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
Sefa Eyeoglu 2023-02-16 22:25:46 +01:00
parent 2b99eb0579
commit 6f1823bfd4
No known key found for this signature in database
GPG key ID: E13DFD4B47127951

View file

@ -79,7 +79,7 @@ export async function expandDiscordLink(message: Message): Promise<void> {
.setURL(messageToShow.url)
);
await message.channel.send({ embeds: [builder], components: [row] });
await message.reply({ embeds: [builder], components: [row], allowedMentions: {repliedUser: false}});
} catch (e) {
console.error(e);
}