P
P
PegasusPega2020-04-25 20:36:35
API
PegasusPega, 2020-04-25 20:36:35

How to make the bot send a sticker?

How to make the bot send a sticker after the message

cmd(/^(?:Баланс)$/i, 0, (send, users) => {
  let credit2 = (i.credit == false) ? "Нет": func.sp(i.credit)+"$";
send(`[] Баланс []
()При себе: ${func.sp(i.money)}$
()В банке: ${func.sp(i.bank)}$
()Биткоинов: ${func.sp(i.bitcoins)}
()Кредит: ${credit2}
()Наркотики: ${func.sp(i.drugs)}`);
Место для кода стикера
});

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
astekoff, 2020-04-26
@PegasusPega

To send a sticker in the messages.send method, specify the sticker_id parameter and the number of the sticker to be sent, only those stickers that the owner of the page/group token has are sent.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question