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 | |
| parent | e0355bf2f67be0e72a92e3efbcedf99afba0cc2a (diff) | |
| download | AleeBot-641a7b51fb9e05b1da336796192cb6af5d6b77da.tar.gz AleeBot-641a7b51fb9e05b1da336796192cb6af5d6b77da.tar.bz2 AleeBot-641a7b51fb9e05b1da336796192cb6af5d6b77da.zip | |
Adding new stuff!
So yeah
| -rw-r--r-- | .gitignore | 4 | ||||
| -rw-r--r-- | aleebot.js | 4 | ||||
| -rw-r--r-- | aleemod.js | 4 |
3 files changed, 10 insertions, 2 deletions
@@ -45,3 +45,7 @@ $RECYCLE.BIN/ Network Trash Folder Temporary Items .apdisk + +abtoken\.json + +amtoken\.json @@ -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!!!!!!!!!! @@ -11,6 +11,8 @@ * *************************************/ const Discord = require('discord.js'); const client = new Discord.Client(); +const config = require('./amtoken.json'); + var expletiveFilter = true; var lastMessages = {}; @@ -203,6 +205,6 @@ const Discord = require('discord.js'); client.user.setPresence(presence); } - client.login('token').catch(function() { + client.login(config.token).catch(function() { console.log("[ERROR] Login failed."); }); |
