From f07c84eaca8554372b68e17adafc1fc819247417 Mon Sep 17 00:00:00 2001 From: John Facey Date: Fri, 17 Jun 2022 17:57:03 -0500 Subject: [PATCH] pushing --- commands/answer.js | 2 +- commands/slang.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/answer.js b/commands/answer.js index 60d4e52..b567157 100644 --- a/commands/answer.js +++ b/commands/answer.js @@ -12,6 +12,6 @@ module.exports = { var question = encodeURIComponent(args.join(" ")); var answerData = await libFlayer.getAnswer(question); - message.reply(`Answer: ${answerData.text}\n Source: ${answerData.source}`); + message.reply(`Question: ${question} \n\nAnswer: ${answerData.text}\n\n Source: ${answerData.source}`); } }; \ No newline at end of file diff --git a/commands/slang.js b/commands/slang.js index 614e24b..9e40859 100644 --- a/commands/slang.js +++ b/commands/slang.js @@ -12,6 +12,6 @@ module.exports = { var question = encodeURIComponent(args.join(" ")); var slangData = await libFlayer.getSlang(question); - message.reply(`Term: ${slangData.definition}\n Example: ${slangData.example}`); + message.reply(`Term: ${question}\n\n Answer: ${slangData.definition}\n\n Example: ${slangData.example}`); } }; \ No newline at end of file