We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This behavior happened to me when I logged back into an active session.
When I receive a message, the onAnyMessage() function sends the duplicate response.
Note: I use this function to record the messages you send from your cell phone.
venom .create({ session: 'session-name', //name of session }) .then((client) => start(client)) .catch((erro) => { console.log(erro); }); function start(client) { client.onAnyMessage((message) => { if (message.isGroupMsg === false ) { client .sendText(message.from, 'Welcome Venom 🕷') .then((result) => { console.log('Result: ', result); //return object success }) .catch((erro) => { console.error('Error when sending: ', erro); //return object error }); } }); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Description
This behavior happened to me when I logged back into an active session.
When I receive a message, the onAnyMessage() function sends the duplicate response.
Note: I use this function to record the messages you send from your cell phone.
Environment
Steps to Reproduce
Your Code
Additional context / Screenshot
The text was updated successfully, but these errors were encountered: