[Feature] Bulk ban support (#2881)
This commit is contained in:
@@ -722,6 +722,10 @@ namespace Discord.WebSocket
|
||||
/// <inheritdoc />
|
||||
public Task RemoveBanAsync(ulong userId, RequestOptions options = null)
|
||||
=> GuildHelper.RemoveBanAsync(this, Discord, userId, options);
|
||||
|
||||
/// <inheritdoc />
|
||||
public Task<BulkBanResult> BulkBanAsync(IEnumerable<ulong> userIds, int? deleteMessageSeconds = null, RequestOptions options = null)
|
||||
=> GuildHelper.BulkBanAsync(this, Discord, userIds.ToArray(), deleteMessageSeconds, options);
|
||||
#endregion
|
||||
|
||||
#region Channels
|
||||
|
||||
Reference in New Issue
Block a user