diff --git a/commands/analyze/face.js b/commands/analyze/face.js index 74a0e0c1..b7eea4ec 100644 --- a/commands/analyze/face.js +++ b/commands/analyze/face.js @@ -44,11 +44,10 @@ module.exports = class FaceCommand extends Command { )]; const smile = face.smile.value > face.smile.threshold; const beautyScore = face.gender.value === 'Male' ? face.beauty.female_score : face.beauty.male_score; - const ethnicity = face.ethnicity.value.toLowerCase(); return msg.reply(oneLine` - I think this is a photo of a ${face.age.value} year old ${ethnicity === 'india' ? 'indian' : ethnicity} - ${face.gender.value.toLowerCase()}. ${pronoun} appears to be ${emotion}, and is - ${smile ? 'smiling' : 'not smiling'}. I give this face a ${Math.round(beautyScore)} on the 1-100 beauty scale. + 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 + face a ${Math.round(beautyScore)} on the 1-100 beauty scale. ${beautyScore > 50 ? beautyScore > 70 ? beautyScore > 90 ? 'Hot!' : 'Not bad.' : 'Not _too_ ugly.' : 'Uggggly!'} `); } catch (err) { diff --git a/package.json b/package.json index 9d9d0f08..8de037ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "110.1.4", + "version": "110.1.5", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {