Draw on both panels in worthless

This commit is contained in:
Dragon Fire
2020-03-06 19:28:45 -05:00
parent b3d082fef2
commit 3f75da7401
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -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!`);
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "112.2.0",
"version": "112.2.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {