import { type RESTOAuth2AdvancedBotAuthorizationQuery } from "https://deno.land/x/discord_api_types@0.37.62/rest/v9/mod.ts";
Properties
client_id: Snowflake
scope:
| OAuth2Scopes.Bot
| `${string}${" " | "%20"}${OAuth2Scopes.Bot}`
| `${OAuth2Scopes.Bot}${" " | "%20"}${string}`
| `${string}${" " | "%20"}${OAuth2Scopes.Bot}${string}${" " | "%20"}`
This assumes you include the bot
scope alongside others (like identify
for example)
optional
permissions: PermissionsThe required permissions bitfield, stringified
optional
guild_id: Snowflake