From 490cbdcbcc7520e3599532d7caed0e2a6f2ed1bc Mon Sep 17 00:00:00 2001 From: Ali Hammoud Date: Sun, 30 Nov 2025 07:39:47 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8=20refactor:=20use=20ephermal=20mes?= =?UTF-8?q?sage=20flag=20instead=20ephermal=20key?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/commands/tips/index.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/commands/tips/index.ts b/src/commands/tips/index.ts index cb86175..0958493 100644 --- a/src/commands/tips/index.ts +++ b/src/commands/tips/index.ts @@ -54,7 +54,10 @@ const slashCommand = createCommand({ } const tip = subjectChoices.get(subject); if (!tip) { - await interaction.reply({ content: 'No tip found for that subject.', ephemeral: true }); + await interaction.reply({ + content: 'No tip found for that subject.', + flags: MessageFlags.Ephemeral, + }); return; } @@ -68,7 +71,7 @@ const slashCommand = createCommand({ }, }); - await interaction.reply({ content: 'Tip sent!', ephemeral: true }); + await interaction.reply({ content: 'Tip sent!', flags: MessageFlags.Ephemeral }); }, });