mirror of
https://github.com/danbulant/discord.js
synced 2026-06-06 16:22:08 +00:00
fix docs because gawdl3y forgot >:( (#724)
This commit is contained in:
parent
8af96810dd
commit
e86b93b34f
2 changed files with 3 additions and 3 deletions
File diff suppressed because one or more lines are too long
|
|
@ -484,12 +484,12 @@ class Guild {
|
||||||
* @returns {Promise<number>} The number of members that were/will be kicked
|
* @returns {Promise<number>} The number of members that were/will be kicked
|
||||||
* @example
|
* @example
|
||||||
* // see how many members will be pruned
|
* // see how many members will be pruned
|
||||||
* guild.prune(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.prune(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);
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue