Merge branch 'master' of JellyBrick/Jolbon-Emoji-Bot into master

This commit is contained in:
SuYong 2018-09-29 18:54:52 +09:00 committed by JellyBrick
commit 6a9d672d5f

View File

@ -6,7 +6,7 @@ const Sender = require('./src/sender.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 sender = new Sender(bot)
@ -121,4 +121,4 @@ bot.on('message', message => {
bot.on('polling_error', (error) => {
console.log(error)
})
})