Skip to content

Commit

Permalink
disable message content unless explicitly enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
devoxin committed Apr 9, 2024
1 parent 41bd82c commit eec52ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/me/devoxin/jukebot/ExtendedShardManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ class ExtendedShardManager(private val shardManager: ShardManager, val botId: Lo
GUILD_MODERATION,
GUILD_PRESENCES,
GUILD_WEBHOOKS,
GATEWAY_SCHEDULED_EVENTS
GATEWAY_SCHEDULED_EVENTS,
MESSAGE_CONTENT,
)

private val defaultEnabledIntents = EnumSet.complementOf(disabledIntents)
Expand Down

0 comments on commit eec52ec

Please sign in to comment.