Example Usage
Props
string
required
The client ID of the bot.
string[]
required
The scopes of the bot.
string
required
The permissions int of the bot.
string
required
The redirect URI of the bot.
string
required
The other params of the bot.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Specify /invite endpoint behavior.
new DBD.Dashboard({
invite: {
clientId: String,
scopes: String[],
permissions: String,
redirectUri: String,
otherParams: String
},
});
new DBD.Dashboard({
invite: {
clientId: "CLIENT_ID",
scopes: ["bot", "applications.commands"],
permissions: "8",
redirectUri: "http://localhost:3000",
otherParams: "test",
},
});
Was this page helpful?