From 969371e00ee0e6a7d24b8b618e3347e1ab9addb9 Mon Sep 17 00:00:00 2001 From: mlnrDev Date: Sat, 2 Sep 2023 16:19:04 +0200 Subject: [PATCH] Add new audit log events --- discord/audit_log.go | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/discord/audit_log.go b/discord/audit_log.go index 4135c558..51af2a9b 100644 --- a/discord/audit_log.go +++ b/discord/audit_log.go @@ -115,6 +115,7 @@ const ( AuditLogAutoModerationBlockMessage AuditLogAutoModerationFlagToChannel AuditLogAutoModerationUserCommunicationDisabled + AuditLogAutoModerationQuarantineUser ) const ( @@ -122,6 +123,15 @@ const ( AuditLogCreatorMonetizationTermsAccepted ) +const ( + AuditLogHarmfulLinksBlockedMessage AuditLogEvent = 180 +) + +const ( + AuditLogVoiceChannelStatusCreate AuditLogEvent = iota + 192 + AuditLogVoiceChannelStatusUpdate +) + // AuditLog (https://discord.com/developers/docs/resources/audit-log) These are logs of events that occurred, accessible via the Discord type AuditLog struct { ApplicationCommands []ApplicationCommand `json:"application_commands"`