Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.assistantscenter.com/llms.txt

Use this file to discover all available pages before exploring further.

For example, you can know when and what user has logged into the Dashboard and what settings they have changed in Bots.
Dashboard.DBDEvents.on(EVENT_TYPE, (data) => {
  //
});

User Logged In

Dashboard.DBDEvents.on("userLoggedIn", (data) => {
  //
});

Data Returned

<DiscordOAuthUserResponse> Object

Website Viewed

Dashboard.DBDEvents.on("websiteView", (data) => {
  //
});

Data Returned

<UserSessionObject> if user is logged in or {loggedIn: false} if not.

Guild Settings Updated

Dashboard.DBDEvents.on("guildSettingsUpdated", (data) => {
  //
});

Props

EVENT_TYPE
String
required
The event type to listen for.