Heyo,
Is there any reason why getApplicationInfo() returns data which is not in the listed in the CamelizedDiscordApplication type? I'm assuming its just an oversight?
Some of the properties missing are below, but there are also more. I did try to take a look into discordeno code and find where CamelizedDiscordApplication was defined, but I couldn't find where it actually sets the properties, it only where it imports.
bot (and all of its nested properties)
type
summary
hook
redirectUris
isMonetized
interactionsEndpointUrl
const f = await manager.getApplicationInfo();
I need some of this data for checking if my custom bot users have configured the settings correctly, for example the redirect URIs.
Also, is there any preprocessing done on the flags property? I'm attempting to try and check what intents the bot has but my checks for that do not seem to work, and after verifying with other people everything looks in the order, the only difference is I'm using discordeno/rest, so im guessing there is something a little bit different i need to do?
const messageContent= 1 << 18;
console.log(applicationInfo.flags); // 8953856
if ((applicationInfo.flags & messageContent) === messageContent) {
console.log('User has message content intent'); // this log never runs, no matter if the bot has the intents or not.
}




