Add a field for if the bot is in the server (oAuth2 scopes)
What I mean is add a field for the oAuth2 scope in the "guilds" scope (If there is a bot account attached to the application)
Example new response
{
id: 'ID',
name: 'Name',
icon: 'ICON',
owner: true,
bot_in_server: true,
permissions: 2147483647,
features: []
}
2
-
You can do this yourself by simply trying to fetch the guild as the bot. This could have some impact on discord servers, so that's why they don't send it (probably).
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire