diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-05-03 22:43:19 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-05-03 22:43:19 -0400 |
| commit | 98c9b5116530d0f5daabfa27810fd81141a7f095 (patch) | |
| tree | f1feae935f9365a529320d8f1e960a50d8a710c9 /bot.js | |
| parent | 871e8c68be58d5d925a4029db703e2156aa33ad4 (diff) | |
| download | PokeBot-98c9b5116530d0f5daabfa27810fd81141a7f095.tar.gz PokeBot-98c9b5116530d0f5daabfa27810fd81141a7f095.tar.bz2 PokeBot-98c9b5116530d0f5daabfa27810fd81141a7f095.zip | |
bye bye music
Diffstat (limited to 'bot.js')
| -rw-r--r-- | bot.js | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -9,7 +9,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'), @@ -85,16 +85,10 @@ fs.readdir('./events', (err, files) => { }); -const { PlayerManager } = require('discord.js-lavalink'); -const nodes = [ - { 'host': 'localhost', 'port': 6547, 'region': 'us', 'shard': 1, 'password': 'iamaverysecurepassword' }, -]; process.on('unhandledRejection', (err) => { console.error(err.stack); bot.Raven.captureException(err); }); -bot.login(config.token).then(() => { - bot.player = new PlayerManager(bot, nodes, { user: bot.user.id, shards: 1, password: 'iamaverysecurepassword' }); -}); +bot.login(config.token); |
