aboutsummaryrefslogtreecommitdiff
path: root/bot_discord.js
diff options
context:
space:
mode:
authorAlee <alee14498@gmail.com>2018-06-24 22:36:58 -0400
committerAlee <alee14498@gmail.com>2018-06-24 22:36:58 -0400
commit2783ab5634b54492c2d487d11bcacad767f57833 (patch)
treefc5f0b314e0d0be5eb7535dd2f4701efaef5b874 /bot_discord.js
parent1abdcfe8c1ec71b8a432f36fc60555431c2a247d (diff)
downloadAleeBot-2783ab5634b54492c2d487d11bcacad767f57833.tar.gz
AleeBot-2783ab5634b54492c2d487d11bcacad767f57833.tar.bz2
AleeBot-2783ab5634b54492c2d487d11bcacad767f57833.zip
Added music back (finally) and changed from 2.10.1 to 2.11.0 Beta
Diffstat (limited to 'bot_discord.js')
-rw-r--r--bot_discord.js12
1 files changed, 10 insertions, 2 deletions
diff --git a/bot_discord.js b/bot_discord.js
index 2ebbc62..45da5ea 100644
--- a/bot_discord.js
+++ b/bot_discord.js
@@ -30,6 +30,8 @@ const fs = require('fs');
const db = require('quick.db');
const api = require('./tokens.json');
const dbl = new DBL(api.dbltoken, client);
+const active = new Map();
+const ownerID = "242775871059001344";
const log = message => {
@@ -160,7 +162,7 @@ rl.on('line', function(cmd){
console.log(msg.cyan);
break;
default:
- console.log('Unknown Command type \'help\' to list the commands...'.yellow)
+ console.log('Unknown command, type \'help\' to list the commands...'.yellow)
}
rl.prompt();
});
@@ -245,7 +247,13 @@ client.on('message', (msg) => {
}
}
try {
- cmd.run(client, msg, args);
+
+ let ops = {
+ ownerID: ownerID,
+ active: active
+ }
+
+ cmd.run(client, msg, args, ops);
}
catch (e) {
console.error(e);