From 28dff06362b883c881b323fbebf06ac82ece66fe Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Mon, 11 Sep 2017 19:33:58 +0000 Subject: [PATCH] Fix --- commands/avatar-edit/card.js | 4 ++-- commands/avatar-edit/steam-card.js | 2 +- commands/avatar-edit/steam-now-playing.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/avatar-edit/card.js b/commands/avatar-edit/card.js index afc681dd..2dffbbf6 100644 --- a/commands/avatar-edit/card.js +++ b/commands/avatar-edit/card.js @@ -53,7 +53,7 @@ module.exports = class CardCommand extends Command { ctx.fillRect(0, 0, 390, 544); ctx.drawImage(avatar, 11, 11, 370, 370); ctx.drawImage(base, 0, 0); - ctx.font = '18px Roboto'; + ctx.font = '18px Noto'; ctx.fillStyle = 'black'; ctx.fillText(member.displayName, 30, 62); ctx.fillText('Discord Join Date:', 148, 400); @@ -63,7 +63,7 @@ module.exports = class CardCommand extends Command { ctx.fillText(rarity, 73, 411); ctx.fillText(cardID, 60, 457); ctx.fillText(version.split('.')[0], 68, 502); - ctx.font = '14px Roboto'; + ctx.font = '14px Noto'; ctx.fillText(member.id, 30, 355); ctx.fillText(`#${member.user.discriminator}`, 313, 355); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'card.png' }] }); diff --git a/commands/avatar-edit/steam-card.js b/commands/avatar-edit/steam-card.js index ce2a77f7..c78b3b4d 100644 --- a/commands/avatar-edit/steam-card.js +++ b/commands/avatar-edit/steam-card.js @@ -46,7 +46,7 @@ module.exports = class SteamCardCommand extends Command { ctx.fillRect(0, 0, 494, 568); ctx.drawImage(avatar, 25, 25, 450, 450); ctx.drawImage(base, 0, 0); - ctx.font = '30px Roboto'; + ctx.font = '30px Noto'; ctx.fillText(member.displayName, 35, 48); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'steam-card.png' }] }); } catch (err) { diff --git a/commands/avatar-edit/steam-now-playing.js b/commands/avatar-edit/steam-now-playing.js index 9e147657..0b2b9cc5 100644 --- a/commands/avatar-edit/steam-now-playing.js +++ b/commands/avatar-edit/steam-now-playing.js @@ -53,7 +53,7 @@ module.exports = class SteamNowPlayingCommand extends Command { ctx.drawImage(base, 0, 0); ctx.drawImage(avatar, 21, 21, 32, 32); ctx.fillStyle = '#90ba3c'; - ctx.font = '10px Roboto'; + ctx.font = '10px Noto'; ctx.fillText(member.displayName, 63, 26); ctx.fillText(shorten(game, 35), 63, 54); return msg.say({ files: [{ attachment: canvas.toBuffer(), name: 'steam-now-playing.png' }] });