From 8a73887d20e9ab554e392ece8d9a00118152a379 Mon Sep 17 00:00:00 2001 From: mlnrDev Date: Sat, 13 Apr 2024 12:37:00 +0200 Subject: [PATCH] add intents --- gateway/gateway_intents.go | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/gateway/gateway_intents.go b/gateway/gateway_intents.go index f9033c80e..121cf0e4c 100644 --- a/gateway/gateway_intents.go +++ b/gateway/gateway_intents.go @@ -29,6 +29,10 @@ const ( _ IntentAutoModerationConfiguration IntentAutoModerationExecution + _ + _ + IntentGuildMessagePolls + IntentDirectMessagePolls IntentsGuild = IntentGuilds | IntentGuildMembers | @@ -42,11 +46,13 @@ const ( IntentGuildMessages | IntentGuildMessageReactions | IntentGuildMessageTyping | - IntentGuildScheduledEvents + IntentGuildScheduledEvents | + IntentGuildMessagePolls IntentsDirectMessage = IntentDirectMessages | IntentDirectMessageReactions | - IntentDirectMessageTyping + IntentDirectMessageTyping | + IntentDirectMessagePolls IntentsNonPrivileged = IntentGuilds | IntentGuildModeration | @@ -63,7 +69,9 @@ const ( IntentDirectMessageTyping | IntentGuildScheduledEvents | IntentAutoModerationConfiguration | - IntentAutoModerationExecution + IntentAutoModerationExecution | + IntentGuildMessagePolls | + IntentDirectMessagePolls IntentsPrivileged = IntentGuildMembers | IntentGuildPresences | IntentMessageContent