This commit is contained in:
Dragon Fire
2024-04-21 16:46:44 -04:00
parent 309225dfe6
commit dec7f2288a
+1 -1
View File
@@ -133,7 +133,7 @@ module.exports = class TweetCommand extends Command {
ctx.fillText(`@${userData.screenName}`, 80, 113);
ctx.fillStyle = 'white';
ctx.font = this.client.fonts.get('ChirpRegular.ttf').toCanvasString(23);
this.fillTextWithEmoji(ctx, text, 17, 160, 710, 23);
await this.fillTextWithEmoji(ctx, text, 17, 160, 710, 23);
ctx.fillStyle = '#71767b';
ctx.font = this.client.fonts.get('Noto-Regular.ttf').toCanvasString(18);
const time = moment().format('h:mm A ∙ MMM D, YYYY ∙');