Method BeginGuildPruneAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
BeginGuildPruneAsync(ulong, int, bool, IEnumerable<ulong>, string)
Begins a guild prune.
public Task<int?> BeginGuildPruneAsync(ulong guildId, int days, bool computePruneCount, IEnumerable<ulong> includeRoles, string reason)
Parameters
guildId
ulongGuild ID
days
intDays to prune for
computePruneCount
boolWhether to return the prune count after this method completes. This is discouraged for larger guilds.
includeRoles
IEnumerable<ulong>The roles to be included in the prune.
reason
stringReason why this guild was pruned