fixed bug
This commit is contained in:
parent
33d20e6489
commit
4196a2e6b2
@ -1,3 +1,4 @@
|
|||||||
LeinneSW
|
LeinneSW
|
||||||
kawaii_latina
|
kawaii_latina
|
||||||
Khinenw
|
Khinenw
|
||||||
|
psj1026
|
||||||
|
4
index.js
4
index.js
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user