Skip to content

Commit

Permalink
Add member profiles automod rule (#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian authored May 31, 2024
1 parent 5bb14bb commit fd872a1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions discord/auto_moderation.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ type AutoModerationEventType int

const (
AutoModerationEventTypeMessageSend AutoModerationEventType = iota + 1
AutoModerationEventTypeMemberUpdate
)

type AutoModerationTriggerType int
Expand All @@ -20,6 +21,7 @@ const (
AutoModerationTriggerTypeSpam
AutoModerationTriggerTypeKeywordPresent
AutoModerationTriggerTypeMentionSpam
AutoModerationTriggerTypeMemberProfile
)

type AutoModerationTriggerMetadata struct {
Expand All @@ -45,6 +47,7 @@ const (
AutoModerationActionTypeBlockMessage AutoModerationActionType = iota + 1
AutoModerationActionTypeSendAlertMessage
AutoModerationActionTypeTimeout
AutoModerationActionTypeBlockMemberInteraction
)

type AutoModerationAction struct {
Expand Down

0 comments on commit fd872a1

Please sign in to comment.