Only tweet should chunk

This commit is contained in:
Dragon Fire
2024-04-26 00:48:11 -04:00
parent d535822cbb
commit 07897e36a6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ module.exports = class TweetCommand extends Command {
}
async fillTextWithEmoji(ctx, text, x, y, maxLineLen, emojiSize) {
const wrapped = wrapText(ctx, text, maxLineLen);
const wrapped = wrapText(ctx, text, maxLineLen, true);
const emoji = text.match(emojiRegex());
if (!emoji) {
ctx.fillText(wrapped.join('\n'), x, y);