diff --git a/lib/discordrb.rb b/lib/discordrb.rb index fcb56b5b0..72487d081 100644 --- a/lib/discordrb.rb +++ b/lib/discordrb.rb @@ -33,10 +33,12 @@ module Discordrb direct_messages: 1 << 12, direct_message_reactions: 1 << 13, direct_message_typing: 1 << 14, - message_content: 1 << 15, + server_message_content: 1 << 15, server_scheduled_events: 1 << 16, auto_moderation_configuration: 1 << 20, - auto_moderation_execution: 1 << 21 + auto_moderation_execution: 1 << 21, + server_message_polls: 1 << 24, + direct_message_polls: 1 << 25 }.freeze # All available intents @@ -44,7 +46,7 @@ module Discordrb # All unprivileged intents # @see https://discord.com/developers/docs/topics/gateway#privileged-intents - UNPRIVILEGED_INTENTS = ALL_INTENTS & ~(INTENTS[:server_members] | INTENTS[:server_presences] | INTENTS[:message_content]) + UNPRIVILEGED_INTENTS = ALL_INTENTS & ~(INTENTS[:server_members] | INTENTS[:server_presences] | INTENTS[:server_message_content]) # No intents NO_INTENTS = 0