Replies: 2 comments
-
I think this could be a nice addition, with the condition that when the library does this, it emits a warning in the logs encouraging you to manually set your intents instead, and briefly explaining what is happening, maybe with a link to the Discord/hikari docs explaining intents. |
Beta Was this translation helpful? Give feedback.
-
Bot devs don't tend to read library warnings, especially considering how many things may be logged on setup.
Which would lead to the bot dying if it lost access to these intents without the bot's devs necessarily being aware that the bot was even currently declaring privileged intents. |
Beta Was this translation helpful? Give feedback.
-
Just a random thought I had. Would it be nice and worth it to make an extra call to fetch the bots application and enable privileged intents based on whether the flags for it are enabled or not (this would include also if they are pending) if no specific intents are passed to the bot constructor?
The downside I see for this is making a useless request a lot of the time, so I am a bit uncertain.
Would love to hear some thoughts :)
Beta Was this translation helpful? Give feedback.
All reactions