Skip to content
New issue

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

Venom does not leave the "waiting" #10

Closed
nexusprime-here opened this issue Jun 12, 2020 · 2 comments
Closed

Venom does not leave the "waiting" #10

nexusprime-here opened this issue Jun 12, 2020 · 2 comments

Comments

@nexusprime-here
Copy link

I already used sulla for a few months, and I decided to migrate to venom, because of an authentication problem .. and here the same problem happens! my code is the simplest because i just went to test it

`// Supports ES6
// import { create, Whatsapp } from 'venom-bot';
const venom = require('venom-bot');

venom.create().then((client) => start(client));

function start(client) {
client.onMessage((message) => {
if (message.body === 'Hi') {
client.sendText(message.from, 'Welcome Venom 🕷');
}
});
}`

(I don't know how to use git very well)

@orkestral
Copy link
Owner

use for npm install venom-bot, if it doesn't work let us know what happens when you run the code

@nexusprime-here
Copy link
Author

I've done it, like I said, you wait all the time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants