mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 16:43:31 +01:00
Fix erroneous docs examples (#1042)
This commit is contained in:
committed by
Schuyler Cebulskie
parent
863e34db19
commit
9e70d6279f
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user