Skip to content

Commit

Permalink
Format bot output
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardofano committed Apr 26, 2024
1 parent 88c7976 commit 6c33328
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/ask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class Ask {

try {
const answer = await this.fetchAnswer(question, units)
return interaction.reply(`[${escapeMarkdown(question)}] ${answer}`)
return interaction.reply(`[${bold(escapeMarkdown(question))}] ${blockQuote(answer)}`)
} catch (err) {
console.error(err)
return interaction.reply('There was a problem communicating with Wolfram Alpha.')
Expand Down

0 comments on commit 6c33328

Please sign in to comment.