Skip to content

Enable all intents and support partials in configuration#38

Merged
Cleboost merged 3 commits intomasterfrom
feat/enable-all-intents-and-logging
Mar 25, 2026
Merged

Enable all intents and support partials in configuration#38
Cleboost merged 3 commits intomasterfrom
feat/enable-all-intents-and-logging

Conversation

@Cleboost
Copy link
Owner

This pull request introduces enhancements to the Discord.js client runtime by enabling all intents and adding support for partials by default, as well as adding a basic message event listener for logging non-bot messages. These changes improve the client's ability to handle a wider range of Discord events and partial data, making it more robust and extensible.

Core enhancements to client configuration:

  • The DjsClient now enables all major Discord intents by default, allowing the client to listen to a broader set of events without extra configuration. [1] [2]
  • Added default support for partials in the DjsClient constructor, enabling the client to handle events with incomplete data (such as uncached messages or users). The Config interface now includes a partials property. [1] [2] [3]

New event listener:

  • Added a message event listener in app/src/events/message.ts that logs the content of messages from non-bot users to the console.

Configuration documentation:

  • Updated the changeset to document the new features: enabling all intents and adding partials support in configuration.

@Cleboost Cleboost merged commit 1aab71f into master Mar 25, 2026
5 checks passed
@Cleboost Cleboost deleted the feat/enable-all-intents-and-logging branch March 25, 2026 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant