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
I have
const TeleBot = require('telebot'); const token = "......................." const bot = new TeleBot(token);
And when I run node index here is what I get in console/terminal
node index
$ node index [bot.plugin] loaded 'regExpMessage' plugin [bot.plugin] loaded 'shortReply' plugin
And the command is closed! it does not run the bot. Why?
The text was updated successfully, but these errors were encountered:
You have to put
bot.start();
at the end of your file.
Sorry, something went wrong.
const TeleBot = require('telebot'); const token = "" const bot = new TeleBot(token); console.log("starting...") bot.on(['/start', '/hello'], (msg) => msg.reply.text('Welcome!')); bot.start();
https://github.com/abdellahaarab/Telebotsjs
No branches or pull requests
I have
And when I run
node index
here is what I get in console/terminalAnd the command is closed! it does not run the bot. Why?
The text was updated successfully, but these errors were encountered: