From 6f1823bfd4e6312a96c4324c5bf3ba8c4dba19c2 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Thu, 16 Feb 2023 22:25:46 +0100 Subject: [PATCH] feat: use reply instead Signed-off-by: Sefa Eyeoglu --- src/utils/resolveMessage.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/resolveMessage.ts b/src/utils/resolveMessage.ts index b836cc2..58f0a73 100644 --- a/src/utils/resolveMessage.ts +++ b/src/utils/resolveMessage.ts @@ -79,7 +79,7 @@ export async function expandDiscordLink(message: Message): Promise { .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); }