Kharat Bot Docs

Dashboard overview

A map of every dashboard page, what each one controls, and how the dashboard talks to the bot.

The dashboard at /dashboard is the control surface for your server. It talks to the bot over an authenticated websocket: every change you save is validated, applied by the bot, and confirmed back before the dashboard reports success.

Server selection#

After signing in with Discord you see every server where you are the owner or hold Administrator. Servers the bot is not in yet link to an invite page instead of a dashboard.

The pages#

PageWhat it controls
Server homeBot enabled/disabled, command prefix, whether permission rules apply
Commands & modulesModule switches and per-command enable/disable
ModerationGulag role and gulag log channel
LoggingLog channel and the twelve log event toggles
TicketsPanel appearance, categories, support roles, claim/close/transcript behaviour, departments
SecurityAnti-invite, anti-spam thresholds, exempt roles/channels
Server StatsStatistic channels, activity roles, tracking settings
Custom commandsList, builder, per-command configuration
MarketplaceBrowse and install community commands
SettingsRead-only notice β€” global bot settings live on the main dashboard
PermissionsRead-only view of access rules

Configuring each feature is covered in Module configuration; the switch hierarchy is explained in Module toggles; and the read-only permissions view in Server permissions.

How saving works#

  1. The dashboard sends a typed, size-limited update over the websocket (for example, ticket support roles are capped at 10, exempt lists at 25, statistic channels at 20).
  2. The bot validates every value, applies it, refreshes its in-memory state and replies with the result.
  3. Only then does the dashboard confirm the save.

Where the data lives#

Server configuration is stored per guild by the bot (one config document per server). Custom commands live as compiled scripts with their source kept in a content-addressed store, and marketplace listings are separate documents β€” see Custom commands and Community Marketplace for the details.