mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-09 18:39:35 +02:00
Fix
This commit is contained in:
@@ -57,8 +57,7 @@ module.exports = class SteamNowPlayingCommand extends Command {
|
||||
ctx.drawImage(base, 0, 0);
|
||||
ctx.drawImage(avatar, 26, 26, 41, 42);
|
||||
ctx.fillStyle = '#90b93c';
|
||||
ctx.font = '15px Noto';
|
||||
ctx.textBaseline = 'bottom';
|
||||
ctx.font = '14px Noto';
|
||||
ctx.fillText(user.username, 80, 38);
|
||||
ctx.fillText(shortenText(ctx, game, 200), 80, 72);
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'steam-now-playing.png' }] });
|
||||
|
||||
Reference in New Issue
Block a user