feat: add privileged intents kill switch #40
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
good first issue
help wanted
invalid
javascript
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
isyuricunha/yue-discord-bot!40
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/privileged-intents-env-switch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
DISABLE_PRIVILEGED_INTENTSas an emergency kill switch for Discord privileged gateway intentsMessageContentandGuildMembersenabled by default; omit only those two when the env istrueBehavior
false: normal privileged intents are requestedtrue:MessageContentandGuildMembersare omitted; all other intents remain unchangedValidation
pnpm --filter @yuebot/bot lintpnpm --filter @yuebot/bot type-checkpnpm --filter @yuebot/bot test(189 tests: 187 passed, 2 skipped, 0 failed)pnpm --filter @yuebot/bot buildgit diff --checkNo merge or deployment performed.
Nice