Just means "fatal error"
const telegramBot = require("node-telegram-bot-api") require('dotenv').config() const TOKEN = process.env.TOKEN; const bot = new telegramBot(TOKEN, {polling: true}) bot.on('message', (message) => { console.log(message); })
Nice, I am trying to learn telegraf api and some basic things with bots, then use this
Grammy has got better documentation
Try explicitly passing {envPath: __dirname + <path>} to dotenv.config. It must be path issue
Ok, will try out this
Обсуждают сегодня