botrix/docs
Home Login

Run your roleplay server from one place.

Botrix is a Discord bot and web dashboard that share one database. Anything you do in Discord appears on the dashboard instantly, and the other way around.

Introduction

Botrix tracks staff shifts, moderation records, leave of absence and message activity for your community. The bot handles day to day work through slash commands. The dashboard is where you configure roles, permissions and review data.

Both sides read and write the same Supabase database, so there is nothing to sync by hand.

Dashboard

PageWhat it does
OverallServer summary, bot nickname, refresh data and the danger zone resets.
SettingsStaff roles, shift admin roles, LOA role, on duty roles and break role.
PermissionsMap Discord roles to Botrix permissions.
Audit LogDashboard and administrator changes.

Shifts

A shift is a timed session with a shift type such as Admin Duty or Ownership Duty. A member can have one open shift at a time. Time spent on break is excluded from the total.

Controls

  • /shift manage shows your totals with Start, Pause and End buttons.
  • /shift active lists everyone on shift, grouped by type, with live durations.
  • /shift leaderboard ranks members by total time. Use the arrows to page and Raw Shift Data to export.
  • /shift admin lets shift managers view, modify, delete or clear another member's shifts.

When a shift starts, the configured on duty role is given. On break swaps in the break role. Ending removes both.

Moderation

Log actions against members with /moderation create, providing the user, punishment (for example W1, Kick, Ban) and reason. View history with /moderations user. Records show on the dashboard Mod panel.

Leave of absence

Staff request leave with /loa request (1 to 60 days). Reviewers with the loa-management permission accept or deny with buttons. Approved leave assigns the LOA role and removes it automatically when it expires.

Permissions

Server owners and Discord administrators always have full access. Everyone else gets access through permission roles on the Permissions page.

KeyAllows
moderator-panelUse the web mod panel
shift-usageStart, stop and break your own shift
shift-managementForce stop and manage other members' shifts, wipe shifts
shift-type-managementCreate, delete and view shift types
moderation-usageModerate users with set punishment types
moderation-managementEdit and delete moderations
ban-request-usageCreate and view ban requests
ban-request-managementReview and manage ban requests
loa-managementAccept or deny leave of absence
server-managementConfigure the bot

Login and sessions

Select Login to continue with Discord. Discord asks you to allow Botrix to see your basic profile (the identify scope). Botrix never reads your messages or servers beyond what the bot already sees.

Sessions last 7 days. After that you sign in again. While signed in, the Login button on the website becomes Dashboard.

Support server

Need help with Botrix or want to talk with the community? Join the official Discord support server.

Join the Botrix Support Server

Commands

CommandDescription
/shift manage [type]Start, pause or end your shift
/shift activeEveryone currently on shift
/shift leaderboard [type]Ranked totals with paging and raw export
/shift admin user [type]Manage another member's shifts
/shift type-create name [role]Create or update a shift type
/shift type-delete nameDelete a shift type
/moderation createLog a moderation
/moderations userView a member's moderation history
/loa requestRequest leave of absence

FAQ

I logged in but see no servers.

Make sure you hold a role with access (or are an administrator), then press Refresh Data on the dashboard.

Slash commands do not show up.

Global commands can take a few minutes. Re-invite the bot with the applications.commands scope, or set COMMAND_GUILD_ID for instant registration while testing.

Why was I logged out?

Sessions expire after 7 days for safety. Select Login to sign in again.