From 3f75da740176d9fc99d255bb4706282929c895c8 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Fri, 6 Mar 2020 19:28:45 -0500 Subject: [PATCH] Draw on both panels in worthless --- commands/meme-gen/worthless.js | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/commands/meme-gen/worthless.js b/commands/meme-gen/worthless.js index 11c17964..c4c5ae76 100644 --- a/commands/meme-gen/worthless.js +++ b/commands/meme-gen/worthless.js @@ -47,6 +47,9 @@ module.exports = class WorthlessCommand extends Command { ctx.rotate(6 * (Math.PI / 180)); ctx.drawImage(avatar, 496, 183, 400, 400); ctx.rotate(-6 * (Math.PI / 180)); + ctx.rotate(160 * (Math.PI / 180)); + ctx.drawImage(avatar, 942, 1148, 75, 75); + ctx.rotate(-160 * (Math.PI / 180)); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'worthless.png' }] }); } catch (err) { return msg.reply(`Oh no, an error occurred: \`${err.message}\`. Try again later!`); diff --git a/package.json b/package.json index 5216fd4c..7bca9502 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "xiao", - "version": "112.2.0", + "version": "112.2.1", "description": "Your personal server companion.", "main": "Xiao.js", "scripts": {