fixed bug

This commit is contained in:
Su-Yong 2018-09-29 18:25:52 +09:00
parent 33d20e6489
commit 4196a2e6b2
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,4 @@
LeinneSW LeinneSW
kawaii_latina kawaii_latina
Khinenw Khinenw
psj1026

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') const bot_token = fs.readFileSync('./bot-token.txt', 'utf8')
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)
@ -14,7 +14,7 @@ const sender = new Sender(bot)
let exception = [ let exception = [
'' ''
] ]
console.log(bot_token)
const command = new commandManager() const command = new commandManager()
fs.readFile('./exception.txt', (err, data) => { fs.readFile('./exception.txt', (err, data) => {