diff options
| author | Unknown <Alee14498@gmail.com> | 2017-06-01 19:59:50 +0000 |
|---|---|---|
| committer | Unknown <Alee14498@gmail.com> | 2017-06-01 20:00:48 +0000 |
| commit | 641a7b51fb9e05b1da336796192cb6af5d6b77da (patch) | |
| tree | 1efbd618c18a4a64359ddf8d202dd6de0ad875b0 /aleebot.js | |
| parent | e0355bf2f67be0e72a92e3efbcedf99afba0cc2a (diff) | |
| download | AleeBot-641a7b51fb9e05b1da336796192cb6af5d6b77da.tar.gz AleeBot-641a7b51fb9e05b1da336796192cb6af5d6b77da.tar.bz2 AleeBot-641a7b51fb9e05b1da336796192cb6af5d6b77da.zip | |
Adding new stuff!
So yeah
Diffstat (limited to 'aleebot.js')
| -rw-r--r-- | aleebot.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -11,6 +11,8 @@ * *************************************/ const Discord = require('discord.js'); const client = new Discord.Client(); +const config = require('./abtoken.json'); + client.on('message', message => { if(message.content === 'ab:profile'){ @@ -152,7 +154,7 @@ client.on('message', message => { client.user.setPresence(presence); } - client.login ('token').catch(function() { + client.login (config.token).catch(function() { console.log("[ERROR] Login failed."); }); // WE NEED DEVELOPERS!!!!!!!!!! |
