interface GatewayGuildAuditLogEntryCreateDispatchData

external
export interface GatewayGuildAuditLogEntryCreateDispatchData extends APIAuditLogEntry

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

external
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

optionalexternal
changes? : APIAuditLogChange[]

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

Inherited from: APIAuditLogEntry

external
guild_id : Snowflake

ID of the guild

external
id : Snowflake

ID of the entry

Inherited from: APIAuditLogEntry

optionalexternal
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

optionalexternal
reason? : string

The reason for the change (0-512 characters)

Inherited from: APIAuditLogEntry

external
target_id : string | null

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

Inherited from: APIAuditLogEntry

external
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