GatewayGuildAuditLogEntryCreateDispatchData
Hierarchy
- APIAuditLogEntry
- GatewayGuildAuditLogEntryCreateDispatchData
Index
Properties
action_type
Type of action that occurred
optionalchanges
Changes made to the target_id
guild_id
ID of the guild
id
ID of the entry
optionaloptions
Additional info for certain action types
optionalreason
The reason for the change (0-512 characters)
target_id
ID of the affected entity (webhook, user, role, etc.)
user_id
The user who made the changes
This can be null
in some cases (webhooks deleting themselves by using their own token, for example)
https://discord.com/developers/docs/topics/gateway-events#guild-audit-log-entry-create