Skip to content

Commit

Permalink
Add new audit log events
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed Sep 2, 2023
1 parent 650fa09 commit 969371e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions discord/audit_log.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,13 +115,23 @@ const (
AuditLogAutoModerationBlockMessage
AuditLogAutoModerationFlagToChannel
AuditLogAutoModerationUserCommunicationDisabled
AuditLogAutoModerationQuarantineUser
)

const (
AuditLogCreatorMonetizationRequestCreated AuditLogEvent = iota + 150
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"`
Expand Down

0 comments on commit 969371e

Please sign in to comment.