aboutsummaryrefslogtreecommitdiff
path: root/bot.js
diff options
context:
space:
mode:
Diffstat (limited to 'bot.js')
-rw-r--r--bot.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/bot.js b/bot.js
index ed2096a..f00f8a8 100644
--- a/bot.js
+++ b/bot.js
@@ -16,7 +16,7 @@ bot.commands = new Discord.Collection();
bot.aliases = new Discord.Collection();
bot.categories = new Discord.Collection();
bot.queue = new Discord.Collection();
-bot.plugins = { music : require('./plugins/music.js') ,
+bot.plugins = {
economy : require('./plugins/Economy.js'),
settings : require('./plugins/settings.js'),
whitelist: require('./plugins/whitelist.js'),
@@ -92,10 +92,6 @@ fs.readdir('./events', (err, files) => {
});
-const { PlayerManager } = require('discord.js-lavalink');
-const nodes = [
- { 'host': 'localhost', 'port': 6547, 'region': 'us', 'shard': 1, 'password': 'iamaverysecurepassword' },
-];
rl.on('line', function(cmd){
var args = cmd.split(" ");
@@ -172,6 +168,5 @@ process.on('unhandledRejection', (err) => {
});
bot.login(config.token).then(() => {
- bot.player = new PlayerManager(bot, nodes, { user: bot.user.id, shards: 1, password: 'iamaverysecurepassword' });
rl.prompt();
});