mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-17 03:53:29 +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
|
* @example
|
||||||
* // see how many members will be pruned
|
* // see how many members will be pruned
|
||||||
* guild.pruneMembers(12, true)
|
* 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);
|
* .catch(console.error);
|
||||||
* @example
|
* @example
|
||||||
* // actually prune the members
|
* // actually prune the members
|
||||||
* guild.pruneMembers(12)
|
* guild.pruneMembers(12)
|
||||||
* .then(pruned => console.log(`I just pruned ${pruned} people!`);
|
* .then(pruned => console.log(`I just pruned ${pruned} people!`))
|
||||||
* .catch(console.error);
|
* .catch(console.error);
|
||||||
*/
|
*/
|
||||||
pruneMembers(days, dry = false) {
|
pruneMembers(days, dry = false) {
|
||||||
|
|||||||
Reference in New Issue
Block a user