Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add logic to aggregate Intents from widgets to pass as args when initializing Client #77

Closed
peterthehan opened this issue Nov 30, 2020 · 3 comments
Assignees
Labels
wontfix This will not be worked on

Comments

@peterthehan
Copy link
Owner

Intents will be mandatory when discord.js switches from gateway v6 -> v8 and/or Discord kills v6. https://discord.com/developers/docs/topics/gateway#privileged-intents

Simple fix would be to initialize the client enabling all intents https://discord.js.org/#/docs/main/master/class/Intents?scrollTo=s-ALL

Better implementation would be to add a list of necessary intents as a configuration option for each widget so that we're receiving events for only the things each respective widget requires.

@peterthehan peterthehan added enhancement New feature or request documentation Improvements or additions to documentation labels Nov 30, 2020
@peterthehan
Copy link
Owner Author

@shadowtime2000
Copy link
Contributor

A config.js file in every widget could do this, and then we could think about injecting global dependencies with that file too, #73.

@peterthehan
Copy link
Owner Author

Will be resolved with #90.

@peterthehan peterthehan added wontfix This will not be worked on and removed enhancement New feature or request documentation Improvements or additions to documentation labels Aug 15, 2021
@peterthehan peterthehan self-assigned this Aug 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants