issues
search
DarkGuy10
/
BotClient
A discord botclient built with Electron, React and discord.js.
MIT License
182
stars
17
forks
source link
refactor: improve `fetchPrivilegedIntents()`
#59
Closed
PlavorSeol
closed
1 year ago
PlavorSeol
commented
1 year ago
Check against an OR-ed bit instead of doing bitwise calculations twice per intent
Use new
/applications/@me
endpoint instead of OAuth2 endpoint (discord/discord-api-docs#5971)
Use
ApplicationFlags
enum for the better readability
Rename
privilegedIntents
internal variable to
intents
/applications/@me
endpoint instead of OAuth2 endpoint (discord/discord-api-docs#5971)ApplicationFlags
enum for the better readabilityprivilegedIntents
internal variable tointents