mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 10:02:05 +02:00
Update i-cant-believe.js
This commit is contained in:
@@ -52,7 +52,7 @@ module.exports = class ICantBelieveCommand extends Command {
|
|||||||
ctx.strokeStyle = 'white';
|
ctx.strokeStyle = 'white';
|
||||||
ctx.strokeText(firstUpperCase(text.toLowerCase(), null), 13, 54, 171);
|
ctx.strokeText(firstUpperCase(text.toLowerCase(), null), 13, 54, 171);
|
||||||
ctx.fillStyle = '#13487b';
|
ctx.fillStyle = '#13487b';
|
||||||
ctx.fillText(firstUpperCase(text.toLowerCase(), null), 13, 54, 171);
|
ctx.fillText(firstUpperCase(text.toLowerCase(), null), 13, 64, 171);
|
||||||
ctx.rotate(8 * (Math.PI / 180));
|
ctx.rotate(8 * (Math.PI / 180));
|
||||||
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'i-cant-believe.png' }] });
|
return msg.say({ files: [{ attachment: canvas.toBuffer('image/png'), name: 'i-cant-believe.png' }] });
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user