This commit is contained in:
Su-Yong 2018-10-26 19:31:26 +09:00
commit 37bd548476

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 DEVELOPER = 121605312 const DEVELOPER = 121605312
@ -134,4 +134,4 @@ bot.on('message', message => {
bot.on('polling_error', (error) => { bot.on('polling_error', (error) => {
console.log(error) console.log(error)
}) })