mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 23:36:43 +02:00
Draw on both panels in worthless
This commit is contained in:
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "xiao",
|
||||
"version": "112.2.0",
|
||||
"version": "112.2.1",
|
||||
"description": "Your personal server companion.",
|
||||
"main": "Xiao.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user