interface RPCAuthorizeArgs

external
export interface RPCAuthorizeArgs

See also: https://discord.com/developers/docs/topics/rpc#authorize-authorize-argument-structure

external
client_id : Snowflake

OAuth2 application id

external
scopes : OAuth2Scopes[]

Scopes to authorize

optionalexternal
username? : string

username to create a guest account with if the user does not have Discord