RESTOAuth2BotAuthorizationQuery
https://docs.discord.com/developers/topics/oauth2#bot-authorization-flow-bot-auth-parameters
Signature
export interface RESTOAuth2BotAuthorizationQueryProperties
6Methods
0No methods.
Properties
client_id: Snowflake;Your app's client id
scope?: OAuth2Scopes.Bot | `${OAuth2Scopes.Bot}${' ' | '%20'}${string}` | `${string}${' ' | '%20'}${OAuth2Scopes.Bot}` | `${string}${' ' | '%20'}${OAuth2Scopes.Bot}${string}${' ' | '%20'}`;Needs to include bot for the bot flow
permissions?: Permissions;The permissions you're requesting See https://docs.discord.com/developers/topics/permissions
guild_id?: Snowflake;Pre-fills the dropdown picker with a guild for the user
disable_guild_select?: boolean;`true` or `false`—disallows the user from changing the guild dropdown
integration_type?: ApplicationIntegrationType;The installation context for the authorization