import { type RESTOAuth2BotAuthorizationQuery } from "https://deno.land/x/discord_api_types@0.37.62/rest/mod.ts";
Properties
client_id: Snowflake
Your app's client id
scope:
| OAuth2Scopes.Bot
| `${string}${" " | "%20"}${OAuth2Scopes.Bot}`
| `${OAuth2Scopes.Bot}${" " | "%20"}${string}`
| `${string}${" " | "%20"}${OAuth2Scopes.Bot}${string}${" " | "%20"}`
Needs to include bot for the bot flow
optional
permissions: PermissionsThe permissions you're requesting
optional
guild_id: SnowflakePre-fills the dropdown picker with a guild for the user