Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/discord_rpc_deno/src/Client.ts>Client#login

port of @xhayper/discord-rpc to deno
Go to Latest
method Client.prototype.login
import { Client } from "https://deno.land/x/discord_rpc_deno@v1.0.18/src/Client.ts";

will try to authorize if a scope is specified, else it's the same as connect()

Parameters

optional
options: AuthorizeOptions

options for the authorization

Returns

Promise<void>