Answer the question
In order to leave comments, you need to log in
How to reply to a sticker?
I need a node.js bot to respond to the stickers that are sent to
it. Here is the code how I tried to respond to the sticker
updates.on(['sticker'], async (message, next) => {
message.send(`kkk `)
})
Answer the question
In order to leave comments, you need to log in
updates.on('new_message', async (message, next) => {
if (message.hasAttachments('sticker')) {
await message.send(`kkk`)
}
})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question