chore: merge v12-dev master into stable

This commit is contained in:
Amish Shah
2020-03-01 17:57:30 +00:00
309 changed files with 17239 additions and 16659 deletions

View File

@@ -1,7 +1,10 @@
'use strict';
const { token } = require('./auth');
const Discord = require('../');
const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`, 4, false);
const sharder = new Discord.ShardingManager(`${process.cwd()}/test/shard.js`, { token, respawn: false });
sharder.on('launch', shard => console.log(`launched ${shard.id}`));
sharder.spawn(4);
sharder.spawn();