Skip to content

Commit

Permalink
add intents
Browse files Browse the repository at this point in the history
  • Loading branch information
mlnrDev committed Apr 13, 2024
1 parent d2d286b commit 8a73887
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions gateway/gateway_intents.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const (
_
IntentAutoModerationConfiguration
IntentAutoModerationExecution
_
_
IntentGuildMessagePolls
IntentDirectMessagePolls

IntentsGuild = IntentGuilds |
IntentGuildMembers |
Expand All @@ -42,11 +46,13 @@ const (
IntentGuildMessages |
IntentGuildMessageReactions |
IntentGuildMessageTyping |
IntentGuildScheduledEvents
IntentGuildScheduledEvents |
IntentGuildMessagePolls

IntentsDirectMessage = IntentDirectMessages |
IntentDirectMessageReactions |
IntentDirectMessageTyping
IntentDirectMessageTyping |
IntentDirectMessagePolls

IntentsNonPrivileged = IntentGuilds |
IntentGuildModeration |
Expand All @@ -63,7 +69,9 @@ const (
IntentDirectMessageTyping |
IntentGuildScheduledEvents |
IntentAutoModerationConfiguration |
IntentAutoModerationExecution
IntentAutoModerationExecution |
IntentGuildMessagePolls |
IntentDirectMessagePolls

IntentsPrivileged = IntentGuildMembers |
IntentGuildPresences | IntentMessageContent
Expand Down

0 comments on commit 8a73887

Please sign in to comment.