mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-03 15:07:42 +02:00
Move that down about 10 pixels
This commit is contained in:
@@ -55,8 +55,8 @@ module.exports = class SteamNowPlayingCommand extends Command {
|
||||
ctx.drawImage(avatar, 21, 21, 32, 32);
|
||||
ctx.fillStyle = '#90ba3c';
|
||||
ctx.font = '10px Roboto';
|
||||
ctx.fillText(member.displayName, 63, 16);
|
||||
ctx.fillText(game, 63, 42);
|
||||
ctx.fillText(member.displayName, 63, 26);
|
||||
ctx.fillText(game, 63, 52);
|
||||
return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'steam-now-playing.png' }] });
|
||||
} catch (err) {
|
||||
return msg.say(`Oh no, an error occurred: \`${err.message}\`. Try again later!`);
|
||||
|
||||
Reference in New Issue
Block a user