Fix bob-ross

This commit is contained in:
Daniel Odendahl Jr
2019-05-19 19:28:01 +00:00
parent c6f65d1774
commit 4206a15055
3 changed files with 1 additions and 3 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 554 KiB

After

Width:  |  Height:  |  Size: 839 KiB

-2
View File
@@ -43,9 +43,7 @@ module.exports = class BobRossCommand extends Command {
const ctx = canvas.getContext('2d');
ctx.fillStyle = 'white';
ctx.fillRect(0, 0, base.width, base.height);
ctx.rotate(3 * (Math.PI / 180));
ctx.drawImage(avatar, 30, 19, 430, 430);
ctx.rotate(-3 * (Math.PI / 180));
ctx.drawImage(base, 0, 0);
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'bob-ross.png' }] });
} catch (err) {
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "xiao",
"version": "105.0.0",
"version": "105.0.1",
"description": "Your personal server companion.",
"main": "Xiao.js",
"scripts": {