From b6d8a50e2634d7d09b196b658ec31b5ce9e3e813 Mon Sep 17 00:00:00 2001 From: caneleex Date: Sat, 1 Apr 2023 15:04:43 +0200 Subject: [PATCH] Add member profiles automod rule --- discord/auto_moderation.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/discord/auto_moderation.go b/discord/auto_moderation.go index 3f8a4e020..05eb2402d 100644 --- a/discord/auto_moderation.go +++ b/discord/auto_moderation.go @@ -10,6 +10,7 @@ type AutoModerationEventType int const ( AutoModerationEventTypeMessageSend AutoModerationEventType = iota + 1 + AutoModerationEventTypeMemberUpdate ) type AutoModerationTriggerType int @@ -20,6 +21,7 @@ const ( AutoModerationTriggerTypeSpam AutoModerationTriggerTypeKeywordPresent AutoModerationTriggerTypeMentionSpam + AutoModerationTriggerTypeMemberProfile ) type AutoModerationTriggerMetadata struct { @@ -44,6 +46,7 @@ const ( AutoModerationActionTypeBlockMessage AutoModerationActionType = iota + 1 AutoModerationActionTypeSendAlertMessage AutoModerationActionTypeTimeout + AutoModerationActionTypeBlockMemberInteraction ) type AutoModerationAction struct {