Preview environment

interface GatewayGuildAuditLogEntryCreateDispatchData

export interface GatewayGuildAuditLogEntryCreateDispatchData extends APIAuditLogEntry

https://discord.com/developers/docs/topics/gateway-events#guild-audit-log-entry-create

action_type : AuditLogEvent

Type of action that occurredSee https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-audit-log-events

Inherited from: APIAuditLogEntry

optional
changes? : APIAuditLogChange[]

Changes made to the target_idSee https://discord.com/developers/docs/resources/audit-log#audit-log-change-object

Inherited from: APIAuditLogEntry

guild_id : Snowflake

ID of the guild

ID of the entry

Inherited from: APIAuditLogEntry

optional
options? : APIAuditLogOptions

Additional info for certain action typesSee https://discord.com/developers/docs/resources/audit-log#audit-log-entry-object-optional-audit-entry-info

Inherited from: APIAuditLogEntry

optional
reason? : string

The reason for the change (0-512 characters)

Inherited from: APIAuditLogEntry

target_id : string | null

ID of the affected entity (webhook, user, role, etc.)

Inherited from: APIAuditLogEntry

user_id : Snowflake | null

The user who made the changesThis can be null in some cases (webhooks deleting themselves by using their own token, for example)

Inherited from: APIAuditLogEntry