This commit is contained in:
root 2018-09-29 09:53:18 +00:00
parent 60234fce30
commit fdc12db003

View File

@ -6,7 +6,7 @@ const Sender = require('./src/sender.js')
const commandManager = require('./src/commandManager.js') const commandManager = require('./src/commandManager.js')
const bot_token = fs.readFileSync('./bot-token.txt', 'utf8') const bot_token = fs.readFileSync('./bot-token.txt', 'utf8').trim()
const bot = new TelegramBot(bot_token, { polling: true }) const bot = new TelegramBot(bot_token, { polling: true })
const sender = new Sender(bot) const sender = new Sender(bot)