mirror of
https://github.com/discordeno/discordeno.git
synced 2026-06-03 09:20:08 +00:00
Update comment for permissions needed when pruning members (#3503)
This commit is contained in:
@@ -2062,7 +2062,7 @@ export interface RestManager {
|
||||
* @returns A number indicating the number of members that would be kicked.
|
||||
*
|
||||
* @remarks
|
||||
* Requires the `KICK_MEMBERS` permission.
|
||||
* Requires the `MANAGE_GUILD` and `KICK_MEMBERS` permissions.
|
||||
*
|
||||
* @see {@link https://discord.com/developers/docs/resources/guild#get-guild-prune-count}
|
||||
*/
|
||||
@@ -2751,7 +2751,7 @@ export interface RestManager {
|
||||
* @returns A number indicating how many members were pruned.
|
||||
*
|
||||
* @remarks
|
||||
* Requires the `KICK_MEMBERS` permission.
|
||||
* Requires the `MANAGE_GUILD` and `KICK_MEMBERS` permissions.
|
||||
*
|
||||
* ❗ Requests to this endpoint will time out for large guilds. To prevent this from happening, set the {@link BeginGuildPrune.computePruneCount} property of the {@link options} object parameter to `false`. This will begin the process of pruning, and immediately return `undefined`, rather than wait for the process to complete before returning the actual count of members that have been kicked.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user