Skip to content

Commit

Permalink
Add member profiles automod rule
Browse files Browse the repository at this point in the history
  • Loading branch information
sebm253 committed Apr 1, 2023
1 parent 6125af7 commit b6d8a50
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 @@ -44,6 +46,7 @@ const (
AutoModerationActionTypeBlockMessage AutoModerationActionType = iota + 1
AutoModerationActionTypeSendAlertMessage
AutoModerationActionTypeTimeout
AutoModerationActionTypeBlockMemberInteraction
)

type AutoModerationAction struct {
Expand Down

0 comments on commit b6d8a50

Please sign in to comment.