diff --git a/exception.txt b/exception.txt index c23f630..4541775 100644 --- a/exception.txt +++ b/exception.txt @@ -1,3 +1,4 @@ LeinneSW kawaii_latina Khinenw +psj1026 diff --git a/index.js b/index.js index cb58949..0e69d21 100644 --- a/index.js +++ b/index.js @@ -6,7 +6,7 @@ const Sender = require('./src/sender.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 sender = new Sender(bot) @@ -14,7 +14,7 @@ const sender = new Sender(bot) let exception = [ '' ] - +console.log(bot_token) const command = new commandManager() fs.readFile('./exception.txt', (err, data) => {