From aefdc50bc47a9fc421fb54f28d925c27637cb019 Mon Sep 17 00:00:00 2001 From: Riccardo Fano Date: Fri, 26 Apr 2024 20:13:00 +0200 Subject: [PATCH] Make error reply ephemeral --- src/commands/ask.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/ask.ts b/src/commands/ask.ts index eabbe25..a6ee6dd 100644 --- a/src/commands/ask.ts +++ b/src/commands/ask.ts @@ -57,7 +57,7 @@ class Ask { return interaction.reply(`### ${escapeMarkdown(question)}\n${blockQuote(answer)}`) } catch (err) { console.error(err) - return interaction.reply('There was a problem communicating with Wolfram Alpha.') + return interaction.reply({ content: 'There was a problem communicating with Wolfram Alpha.', ephemeral: true }) } }