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