Classic gravestone and activity statuses from Xiao v1

This commit is contained in:
Daniel Odendahl Jr
2018-08-30 17:33:44 +00:00
parent 95a4308fe7
commit 282fbd3200
4 changed files with 19 additions and 3 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 368 KiB

After

Width:  |  Height:  |  Size: 234 KiB

+16
View File
@@ -30,5 +30,21 @@
{
"text": "with Amber",
"type": "PLAYING"
},
{
"text": "with a cardboard box",
"type": "PLAYING"
},
{
"text": "in the fridge",
"type": "PLAYING"
},
{
"text": "with a knife",
"type": "PLAYING"
},
{
"text": "with a murderous cow",
"type": "PLAYING"
}
]
+2 -2
View File
@@ -37,8 +37,8 @@ module.exports = class RipCommand extends Command {
const canvas = createCanvas(base.width, base.height);
const ctx = canvas.getContext('2d');
ctx.drawImage(base, 0, 0);
ctx.drawImage(avatar, 158, 51, 200, 200);
greyscale(ctx, 158, 51, 200, 200);
ctx.drawImage(avatar, 59, 68, 200, 200);
greyscale(ctx, 59, 68, 200, 200);
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'rip.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": "88.2.1",
"version": "88.2.2",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {