From 938627c9c67899752cdeae6daaef325694f9a5e7 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 11 Mar 2020 14:35:12 -0400 Subject: [PATCH] Make the message always uppercase --- commands/meme-gen/sos.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/meme-gen/sos.js b/commands/meme-gen/sos.js index b568ac2c..6c791207 100644 --- a/commands/meme-gen/sos.js +++ b/commands/meme-gen/sos.js @@ -55,7 +55,7 @@ module.exports = class SosCommand extends Command { ctx.textAlign = 'center'; ctx.textBaseline = 'middle'; ctx.rotate(15 * (Math.PI / 180)); - ctx.fillText(message, 362, 522); + ctx.fillText(message.toUpperCase(), 362, 522); ctx.rotate(-15 * (Math.PI / 180)); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'sos.png' }] }); } catch (err) {