diff --git a/commands/analyze/age.js b/commands/analyze/age.js index 5068c99e..1502e68e 100644 --- a/commands/analyze/age.js +++ b/commands/analyze/age.js @@ -19,7 +19,7 @@ module.exports = class AgeCommand extends Command { run(msg, { year }) { const currentYear = new Date().getFullYear(); const age = currentYear - year; - if (age < 0) return msg.say(`Someone born in ${year} will be born in ${Math.abs(age)} years.`); - return msg.say(`Someone born in ${year} would be ${age} years old after their birthday.`); + if (age < 0) return msg.say(`Someone born in ${year} will be born in **${Math.abs(age)} years**.`); + return msg.say(`Someone born in ${year} would be **${age} years old** after their birthday.`); } }; diff --git a/commands/analyze/birthstone.js b/commands/analyze/birthstone.js index 086615ad..a8ce1229 100644 --- a/commands/analyze/birthstone.js +++ b/commands/analyze/birthstone.js @@ -20,7 +20,7 @@ module.exports = class BirthstoneCommand extends Command { run(msg, { month }) { const stone = stones[month - 1]; - const alternate = stone.alternate ? ` Alternatively, you can also use ${list(stone.alternate, 'or')}.` : ''; - return msg.say(`The Birthstone for ${firstUpperCase(months[month - 1])} is ${stone.primary}.${alternate}`); + const alternate = stone.alternate ? ` Alternatively, you can also use **${list(stone.alternate, 'or')}**.` : ''; + return msg.say(`The Birthstone for ${firstUpperCase(months[month - 1])} is **${stone.primary}**.${alternate}`); } }; diff --git a/commands/analyze/chinese-zodiac.js b/commands/analyze/chinese-zodiac.js index bf101e32..fab15deb 100644 --- a/commands/analyze/chinese-zodiac.js +++ b/commands/analyze/chinese-zodiac.js @@ -19,6 +19,6 @@ module.exports = class ChineseZodiacCommand extends Command { } run(msg, { year }) { - return msg.say(`The Chinese Zodiac Sign for ${year} is ${signs[year % signs.length]}.`); + return msg.say(`The Chinese Zodiac Sign for ${year} is **${signs[year % signs.length]}**.`); } }; diff --git a/commands/analyze/face-gender.js b/commands/analyze/face-gender.js index 2c9b68e7..cfcc02b0 100644 --- a/commands/analyze/face-gender.js +++ b/commands/analyze/face-gender.js @@ -28,6 +28,6 @@ module.exports = class FaceGenderCommand extends Command { const { body } = await request .post(`https://www.nyckel.com/v1/functions/gender-detector/invoke`) .send({ data: image }); - return msg.say(`I'm ${Math.round(body.confidence * 100)}% sure this is a ${body.labelName}.`); + return msg.say(`I'm ${Math.round(body.confidence * 100)}% sure this is a **${body.labelName}**.`); } }; diff --git a/commands/analyze/faces.js b/commands/analyze/faces.js index 49744a3e..c0bc6630 100644 --- a/commands/analyze/faces.js +++ b/commands/analyze/faces.js @@ -39,6 +39,6 @@ module.exports = class FacesCommand extends Command { ctx.fillRect(face.box.xMin, face.box.yMax, face.box.width + lineSize, lineSize); ctx.fillRect(face.box.xMax, face.box.yMin, lineSize, face.box.height); } - return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'faces.png' }] }); + return msg.say({ files: [{ attachment: canvas.toBuffer('image/jpeg'), name: 'faces.jpeg' }] }); } }; diff --git a/commands/edit-face/anime-eyes.js b/commands/edit-face/anime-eyes.js index eb9cc4d1..db9cc852 100644 --- a/commands/edit-face/anime-eyes.js +++ b/commands/edit-face/anime-eyes.js @@ -46,6 +46,6 @@ module.exports = class AnimeEyesCommand extends Command { ctx.drawImage(rightEye, leftEyeX, leftEyeY, eyeWidth, eyeHeight); ctx.drawImage(leftEye, rightEyeX, rightEyeY, eyeWidth, eyeHeight); } - return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'anime-eyes.png' }] }); + return msg.say({ files: [{ attachment: canvas.toBuffer('image/jpeg'), name: 'anime-eyes.jpeg' }] }); } }; diff --git a/commands/edit-face/danny-devito.js b/commands/edit-face/danny-devito.js index 02a3dc1d..a57597af 100644 --- a/commands/edit-face/danny-devito.js +++ b/commands/edit-face/danny-devito.js @@ -51,6 +51,6 @@ module.exports = class DannyDevitoCommand extends Command { height * 1.4 ); } - return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'danny-devito.png' }] }); + return msg.say({ files: [{ attachment: canvas.toBuffer('image/jpeg'), name: 'danny-devito.jpeg' }] }); } }; diff --git a/commands/edit-face/emoji-face.js b/commands/edit-face/emoji-face.js index 3267e303..110d48e5 100644 --- a/commands/edit-face/emoji-face.js +++ b/commands/edit-face/emoji-face.js @@ -62,6 +62,6 @@ module.exports = class EmojiFaceCommand extends Command { height * 1.4 ); } - return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'emoji-face.png' }] }); + return msg.say({ files: [{ attachment: canvas.toBuffer('image/jpeg'), name: 'emoji-face.jpeg' }] }); } }; diff --git a/commands/edit-face/eyes.js b/commands/edit-face/eyes.js index 087af3f4..247492e4 100644 --- a/commands/edit-face/eyes.js +++ b/commands/edit-face/eyes.js @@ -44,6 +44,6 @@ module.exports = class EyesCommand extends Command { ctx.drawImage(eyes, leftEyeX, leftEyeY, eyeWidth, eyeHeight); ctx.drawImage(eyes, rightEyeX, rightEyeY, eyeWidth, eyeHeight); } - return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'eyes.png' }] }); + return msg.say({ files: [{ attachment: canvas.toBuffer('image/jpeg'), name: 'eyes.jpeg' }] }); } }; diff --git a/commands/edit-face/shrek.js b/commands/edit-face/shrek.js index f258154d..4ea1c9dd 100644 --- a/commands/edit-face/shrek.js +++ b/commands/edit-face/shrek.js @@ -51,6 +51,6 @@ module.exports = class ShrekCommand extends Command { height * 1.5 ); } - return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'shrek.png' }] }); + return msg.say({ files: [{ attachment: canvas.toBuffer('image/jpeg'), name: 'shrek.jpeg' }] }); } };