From dec7f2288a2edf8576705c6a499bcc8794156529 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Sun, 21 Apr 2024 16:46:44 -0400 Subject: [PATCH] Fix --- commands/edit-image-text/tweet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/edit-image-text/tweet.js b/commands/edit-image-text/tweet.js index d3776684..1ee6ec9c 100644 --- a/commands/edit-image-text/tweet.js +++ b/commands/edit-image-text/tweet.js @@ -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 ∙');