Table of Contents

Interface IGuildAuditLogEntryCreateShardedGatewayHandler

Namespace
NetCord.Hosting.Gateway
Assembly
NetCord.Hosting.dll

Sent when a guild audit log entry is created. The inner payload is an AuditLogEntry object. This event is only sent to bots with the ViewAuditLog permission.

public interface IGuildAuditLogEntryCreateShardedGatewayHandler : IShardedGatewayHandler

Remarks


Required Intents: GuildModeration
Optional Intents: None

Methods

HandleAsync(GatewayClient, AuditLogEntry)

ValueTask HandleAsync(GatewayClient client, AuditLogEntry arg)

Parameters

client GatewayClient
arg AuditLogEntry

Returns

ValueTask