Skip to content

Commit

Permalink
Update stickerMaker.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeANi-SHILIX committed Jul 31, 2023
1 parent f669cb6 commit 92a9cca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helpers/stickerMaker.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default async function sendSticker(msg, sock, msgTypeSticker) {

const sticker = new Sticker(
//textToSticker(message),
textToSticker2(message + " "),
textToSticker2(message),
{
pack: '🎉',
author: 'BabiBot',
Expand All @@ -140,7 +140,7 @@ function textToSticker2(text) {
text = putEnterBetweenEmojis(text);
text = doubleEnter(text);
console.log(text);
return new UltimateTextToImage(text, {
return new UltimateTextToImage(text + " ", {
width: 350,
maxWidth: 400,
maxHeight: 400,
Expand All @@ -154,7 +154,7 @@ function textToSticker2(text) {
autoWrapLineHeightMultiplier: 1.1,
//autoWrapLineHeight: 2,
margin: 10,
marginLeft: 80,
marginLeft: 90,
align: "center",
valign: "middle",
strokeSize: 2,
Expand Down

0 comments on commit 92a9cca

Please sign in to comment.