Make communist look a bit better

This commit is contained in:
Dragon Fire
2020-07-09 20:40:15 -04:00
parent eef1c0e213
commit e8a73af48a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = class CommunistCommand extends Command {
drawImageWithTint(ctx, data, 'red', 0, 0, data.width, data.height);
const { x, y, width, height } = centerImage(base, data);
ctx.globalAlpha = 0.5;
ctx.drawImage(base, x, y, width, height);
ctx.drawImage(base, x, y, width * 0.9, height * 0.9);
ctx.globalAlpha = 1;
const attachment = canvas.toBuffer();
if (Buffer.byteLength(attachment) > 8e+6) return msg.reply('Resulting image was above 8 MB.');
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "119.15.0",
"version": "119.15.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {