mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-27 14:18:36 +02:00
Meow
This commit is contained in:
@@ -37,7 +37,7 @@ module.exports = class BobRossCommand extends Command {
|
||||
ctx.fillStyle = 'white';
|
||||
ctx.fillRect(0, 0, 600, 775);
|
||||
ctx.rotate(3 * Math.PI / 180);
|
||||
ctx.drawImage(avatar, 44, 80, 300, 300);
|
||||
ctx.drawImage(avatar, 50, 80, 300, 300);
|
||||
ctx.rotate(-3 * Math.PI / 180);
|
||||
ctx.drawImage(base, 0, 0);
|
||||
};
|
||||
|
||||
@@ -43,7 +43,7 @@ module.exports = class SteamCardCommand extends Command {
|
||||
ctx.drawImage(base, 0, 0);
|
||||
ctx.font = '32px Open Sans';
|
||||
ctx.fillStyle = 'white';
|
||||
ctx.fillText(username, 38, 20);
|
||||
ctx.fillText(username, 28, 53);
|
||||
};
|
||||
const cardImg = await request
|
||||
.get('https://i.imgur.com/JF0WwQX.png');
|
||||
|
||||
Reference in New Issue
Block a user