From fea383c61b275a661554bcc725487f194e5eeed5 Mon Sep 17 00:00:00 2001 From: ayn2op Date: Fri, 7 Apr 2023 16:57:36 +0530 Subject: [PATCH] discord: move AppFlagAutoModerationRuleCreateBadge outside --- discord/application.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/discord/application.go b/discord/application.go index a800ccd..a6e84ca 100644 --- a/discord/application.go +++ b/discord/application.go @@ -59,9 +59,10 @@ type Application struct { type ApplicationFlags uint32 +const AppFlagAutoModerationRuleCreateBadge ApplicationFlags = 1 << 6 + const ( - AppFlagAutoModerationRuleCreateBadge ApplicationFlags = 1 << 6 - AppFlagGatewayPresence ApplicationFlags = 1 << (iota + 12) + AppFlagGatewayPresence ApplicationFlags = 1 << (iota + 12) AppFlagGatewayPresenceLimited AppFlagGatewayGuildMembers AppFlagGatewayGuildMembersLimited