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)

Handles the gateway event.

ValueTask HandleAsync(GatewayClient client, AuditLogEntry arg)

Parameters

client GatewayClient

The gateway client that represents the shard that received the event.

arg AuditLogEntry

The event argument.

Returns

ValueTask