mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-15 19:13:31 +01:00
fix docs because gawdl3y forgot >:( (#724)
This commit is contained in:
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);
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user