Table of Contents

Method GetAuditLogsAsync

Namespace
DSharpPlus.Net
Assembly
DSharpPlus.dll

GetAuditLogsAsync(DiscordGuild, int, ulong?, ulong?, ulong?, DiscordAuditLogActionType?, CancellationToken)

public Task<IAsyncEnumerable<DiscordAuditLogEntry>> GetAuditLogsAsync(DiscordGuild guild, int limit, ulong? after = null, ulong? before = null, ulong? userId = null, DiscordAuditLogActionType? actionType = null, CancellationToken ct = default)

Parameters

guild DiscordGuild
limit int
after ulong?
before ulong?
userId ulong?
actionType DiscordAuditLogActionType?
ct CancellationToken

Returns

Task<IAsyncEnumerable<DiscordAuditLogEntry>>