LogoAntiRaid

@antiraid-ext/events/discord/GuildAuditLogEntryCreate

API reference for @antiraid-ext/events/discord/GuildAuditLogEntryCreate

@antiraid-ext/events/discord/GuildAuditLogEntryCreate

Functions

onGuildAuditLogEntryCreate

GuildAuditLogEntryCreate

Dispatched when a new audit log entry is created.

Provides said entry’s data and the id of the guild where it was created.

Function Signature
--- GuildAuditLogEntryCreate
---
--- Dispatched when a new audit log entry is created.
---
--- Provides said entry’s data and the id of the guild where it was created.
function onGuildAuditLogEntryCreate(event: Primitives.Event, callback: (entry: discord.AuditLogEntryObject) -> ()) end

Arguments

event

Primitives.Event

callback

Function Signature
callback: (entry: discord.AuditLogEntryObject) -> ()

Arguments

entry

discord.AuditLogEntryObject

Last updated on