diff --git a/zoizbot/app.js b/zoizbot/app.js index 4e2541d..80aea06 100644 --- a/zoizbot/app.js +++ b/zoizbot/app.js @@ -37,6 +37,4 @@ fs.readdir(`./commands/`, (err, files) => { console.log("=============================================="); }); - - -zoizbot.login(config.token); //reading the "token" from the const config = conf.json btw the one you see is invalid now +zoizbot.login(config.token).catch(console.error); //reading the "token" from the const config = conf.json btw the one you see is invalid now \ No newline at end of file diff --git a/zoizbot/conf.json b/zoizbot/conf.json index aeacca4..e9ed938 100644 --- a/zoizbot/conf.json +++ b/zoizbot/conf.json @@ -1,4 +1,4 @@ { - "token": "null", + "token": "", "prefix": ">" }