diff options
| author | Alee <alee14498@gmail.com> | 2018-03-24 21:23:34 -0400 |
|---|---|---|
| committer | Alee <alee14498@gmail.com> | 2018-03-24 21:23:34 -0400 |
| commit | 0424522824916a65e31535f04b0e8e3068de8ba9 (patch) | |
| tree | 4e1d70364647acee4cb4bd2c04102b1f74ba0ed8 /src/bot_discord.js | |
| parent | 8dfcf2917c4ddebb701044c54dc73f3f72265eae (diff) | |
| parent | eab57f6d81f66fdf9b930854df7f382dc8b80642 (diff) | |
| download | AleeBot-0424522824916a65e31535f04b0e8e3068de8ba9.tar.gz AleeBot-0424522824916a65e31535f04b0e8e3068de8ba9.tar.bz2 AleeBot-0424522824916a65e31535f04b0e8e3068de8ba9.zip | |
Merge branch 'beta'
Diffstat (limited to 'src/bot_discord.js')
| -rw-r--r-- | src/bot_discord.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/bot_discord.js b/src/bot_discord.js index f195e73..4fd4791 100644 --- a/src/bot_discord.js +++ b/src/bot_discord.js @@ -7,14 +7,16 @@ **********************************************/
const Discord = require('discord.js');
const client = new Discord.Client();
-const abVersion = '2.1.0';
+const abVersion = '2.2.0';
const prefix = 'ab:';
const fs = require('fs');
const config = require('./absettings.json');
console.log('Welcome to AleeBot NodeJS Terminal!');
+client.apikey = config.ytapikey;
client.commands = new Discord.Collection();
client.aliases = new Discord.Collection();
+client.servers = {};
fs.readdir('./commands', (err, files) => {
if (err) console.error(err);
|
