new DBD.Dashboard({
    invite: {
        clientId: String,
        scopes: String[],
        permissions: String,
        redirectUri: String,
        otherParams: String
    },
});

Example Usage

new DBD.Dashboard({
  invite: {
    clientId: "CLIENT_ID",
    scopes: ["bot", "applications.commands"],
    permissions: "8",
    redirectUri: "http://localhost:3000",
    otherParams: "test",
  },
});

Props

clientId
string
required

The client ID of the bot.

scopes
string[]
required

The scopes of the bot.

permissions
string
required

The permissions int of the bot.

redirectUri
string
required

The redirect URI of the bot.

otherParams
string
required

The other params of the bot.