Change how presences are handled

This commit is contained in:
Amish Shah
2016-09-25 14:15:58 +01:00
parent 0e8f1bef97
commit 03651fd6e3
11 changed files with 169 additions and 90 deletions

View File

@@ -1,6 +1,6 @@
const Discord = require('../');
const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`);
const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`, 5, false);
sharder.on('launch', id => console.log(`launched ${id}`));