RESTOAuth2BotAuthorizationQuery
https://discord.com/developers/docs/topics/oauth2#bot-authorization-flow-bot-auth-parameters
Signature
export interface RESTOAuth2BotAuthorizationQueryProperties
5Methods
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://discord.com/developers/docs/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