mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-25 22:32:50 +02:00
Fix
This commit is contained in:
@@ -133,7 +133,7 @@ module.exports = class TweetCommand extends Command {
|
|||||||
ctx.fillText(`@${userData.screenName}`, 80, 113);
|
ctx.fillText(`@${userData.screenName}`, 80, 113);
|
||||||
ctx.fillStyle = 'white';
|
ctx.fillStyle = 'white';
|
||||||
ctx.font = this.client.fonts.get('ChirpRegular.ttf').toCanvasString(23);
|
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.fillStyle = '#71767b';
|
||||||
ctx.font = this.client.fonts.get('Noto-Regular.ttf').toCanvasString(18);
|
ctx.font = this.client.fonts.get('Noto-Regular.ttf').toCanvasString(18);
|
||||||
const time = moment().format('h:mm A ∙ MMM D, YYYY ∙');
|
const time = moment().format('h:mm A ∙ MMM D, YYYY ∙');
|
||||||
|
|||||||
Reference in New Issue
Block a user