Merge branch 'master' into indev-prism

This commit is contained in:
Schuyler Cebulskie
2016-12-29 23:15:41 -05:00
3 changed files with 5 additions and 7 deletions

View File

@@ -542,12 +542,12 @@ class Guild {
* @example
* // see how many members will be pruned
* guild.pruneMembers(12, true)
* .then(pruned => console.log(`This will prune ${pruned} people!`);
* .then(pruned => console.log(`This will prune ${pruned} people!`))
* .catch(console.error);
* @example
* // actually prune the members
* guild.pruneMembers(12)
* .then(pruned => console.log(`I just pruned ${pruned} people!`);
* .then(pruned => console.log(`I just pruned ${pruned} people!`))
* .catch(console.error);
*/
pruneMembers(days, dry = false) {