fixing alignment

This commit is contained in:
John Facey
2022-06-26 19:47:38 -05:00
parent 4056bfc567
commit 4a421391f6
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ module.exports = {
var question = encodeURIComponent(args.join(" "));
var answerData = await libFlayer.getAnswer(question);
message.reply(`**Question**: ${question} \n\n**Answer**: ${answerData.text}\n\n **Source**: ${answerData.source}`);
message.reply(`**Question**: ${decodeURIComponent(question)}\n\n**Answer**: ${answerData.text}\n\n **Source**: ${answerData.source}`);
} catch (err) {
message.reply(err.toString());
}