From 5d66c55b5bf8df9d2322462b22292d5ab295b58d Mon Sep 17 00:00:00 2001 From: NotNite Date: Fri, 26 Aug 2022 20:44:53 -0400 Subject: [PATCH] im a dumbass --- src/commands/remind.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/commands/remind.ts b/src/commands/remind.ts index fdd9127..d4be978 100644 --- a/src/commands/remind.ts +++ b/src/commands/remind.ts @@ -38,9 +38,11 @@ const remind: Command = { const when = parse(whenOption.value); if (when === null) { - await interaction.createMessage( - "I didn't understand that time. Try something like `3h` or `2 days`." - ); + await interaction.createMessage({ + content: + "I didn't understand that time. Try something like `3h` or `2 days`.", + flags: Constants.MessageFlags.EPHEMERAL + }); return; } @@ -55,9 +57,10 @@ const remind: Command = { } }); - await interaction.createMessage( - `Reminder set .` - ); + await interaction.createMessage({ + content: `Reminder set .`, + flags: Constants.MessageFlags.EPHEMERAL + }); } };