St3ix Docs

Discord

A Discord bot run by the panel. Ticket panels, tickets shared with the panel, server commands, account linking and alerts in your channels.

Stratum → Communication → Discord Bot. The bot runs on the panel server itself, so you need no extra hosting. The panel starts it and brings it back after a crash.

Node.js

The panel server needs Node.js installed, because the bot is a small Node script the panel starts.

Set up

Create the bot

In the Discord developer portal, create an application, add a bot and copy its token. Invite it to your server with the link the page builds for you.

Token and server

Paste the token, pick your Discord server, and turn the bot on. The page shows whether it is online.

Modules

Turn on the parts you want, described below.

Tickets

  • Ticket panels: a message with buttons that opens a form (modal) and creates a private ticket channel.
  • Web and Discord in one: tickets opened in the panel can be mirrored to Discord, and staff answers on either side show on both. Users get a DM when staff reply.
  • Transcripts: closed tickets are saved. Users find theirs under Discord Transcripts in the account (after linking), for as long as you keep them.

Commands and community

  • /server: users see and control their linked servers from Discord.
  • /tag: saved answers for common questions.
  • Welcome: a message for new members.
  • Account linking: users link their Discord account in the panel.
  • Staff statistics: who answered how many tickets.

Alerts

Pick a channel for each event, and optionally a role to ping:

EventWhen
Node outagesA node stops answering, and when it is back
MaintenanceMaintenance starts and ends
System warningsDisk almost full, queue or scheduler stopped, debug mode on
New feedbackSomeone sends feedback
Staff requestsStaff ask a server owner for access
BansA user, IP or email is banned
ReferralsSomeone signs up with a referral link
Billing suspensionsA server is suspended because its invoice is overdue
Server crashesCrash loops, freezes, crashes a restart cannot fix
UpgradesAn upgrade is ordered, or a paid one cannot be applied

Alerts work through the bot. The bot must be able to post in those channels.

Suggestions

Put Node outages and System warnings in a staff-only channel with a role ping. Those are the ones you want to see at night.

On this page