Revert "Fix face beauty scores being backwards"

This reverts commit d75b8b9b56.
This commit is contained in:
Dragon Fire
2020-06-07 17:52:09 -04:00
parent d75b8b9b56
commit 2265bd1dca
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ module.exports = class FaceCommand extends Command {
emotions.slice(0).sort((a, b) => face.emotion[b] - face.emotion[a])[0]
)];
const smile = face.smile.value > face.smile.threshold;
const beautyScore = face.gender.value === 'Male' ? face.beauty.male_score : face.beauty.female_score;
const beautyScore = face.gender.value === 'Male' ? face.beauty.female_score : face.beauty.male_score;
return msg.reply(oneLine`
I think this is a photo of a ${face.age.value} year old ${face.gender.value.toLowerCase()}.
${pronoun} appears to be ${emotion}, and is ${smile ? 'smiling' : 'not smiling'}. I give this
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "116.3.1",
"version": "116.3.0",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {