From 9097582ef357e6a1cd3457b9090977616c6e082a Mon Sep 17 00:00:00 2001 From: zuzuvelas Date: Fri, 26 Apr 2024 12:02:56 -0600 Subject: [PATCH] Block quote over quote formatting to account for new lines --- src/commands/ask.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/ask.ts b/src/commands/ask.ts index 0c5c0d8..aec9d30 100644 --- a/src/commands/ask.ts +++ b/src/commands/ask.ts @@ -4,7 +4,7 @@ import { InteractionResponse, escapeMarkdown, bold, - quote, + quote, blockQuote, } from 'discord.js' import { Discord, @@ -96,7 +96,7 @@ class Ask { const answer = await this.fetchAnswer(question, units) return interaction.reply( `### ${escapeMarkdown(question)} - ${quote(answer)}` + ${blockQuote(answer)}` ) } catch (err) { console.error(err)