Invalid bot token
/root/TeleShellBot/node_modules/telebot/lib/telebot.js:16 throw Error('[bot.error] invalid bot token'); ^
Error: [bot.error] invalid bot token
at new TeleBot (/root/TeleShellBot/node_modules/telebot/lib/telebot.js:16:19)
at Object.
Is this due to a password error?
you can chat with @BotFather to get the token
then put it in config.js file
module.exports = {
config: function(){
return (
{
adminUsers:[XXXXX], //admin users' telegram id, should be numbers
botToken: '55555555:AAAAAAAAAAA', // bot token
}
);
}
};