ROMULANS
Join Sign in
Help & guides · Org

Setting up Discord roles (staff)

For staff with the "Run the Discord bot" right - connect a Discord server, choose which site groups get which Discord role, preview and apply.

The Romulans bot gives members Discord roles from their rank and groups on this site. You set it up on Discord bot (Admin). Members link their Discord account themselves with /link (see Notifications and Discord messages).

Create the Discord bot

Done once, by an Administrator, in Discord's Developer Portal and then on Discord bot (Bot setup).

  1. Go to the Discord Developer Portal, sign in with your Discord account and press New Application. Give it the bot's name, accept the terms and press Create.
  2. General Information: upload an avatar (our own art; never pictures of CIG staff) and a short description, for example Romulans org bot — romulans.org. Save.
  3. Bot (left menu):
    • Switch Public Bot off (only we can add it to servers for now).
    • Under Privileged Gateway Intents switch Server Members Intent on. Leave Presence and Message Content off. Save.
    • Press Reset Token, confirm, and copy the token. Discord shows it only once. Treat it like a password: never paste it in a chat or a ticket.
  4. Installation (left menu): set Install Link to None (the site's Add the bot to a server button asks for exactly the rights the bot needs).
  5. On Discord bot, 1 · Bot token: paste the token and press Check and save. The site asks Discord whose token it is; when Discord confirms, it shows ✓ Saved: the token of the bot name and stores it encrypted. If Discord refuses it, copy it again (or reset it again in the Developer Portal).
  6. 2 · Bot program: press Create key. The site shows a key once: it goes on the bot's own server (whoever installs the bot program puts it in its settings). Optionally lock the key to the bot server's address. When the program runs it fetches the bot token from the site by itself and the panel shows ✓ Online. A new token pasted later reaches the running bot within seconds.

1. Add the bot to the server

  1. On Discord bot, 3 · Servers, press Add the bot to a server ↗ and pick the server (you need Manage Server there).
  2. In Discord: Server settings → Roles, drag the bot's own role above every role it should hand out. Discord only lets a bot manage roles below its own.
  3. Back on the site the server appears as a button within a minute, with sync off: the bot changes nothing yet.

2. Tie the server to its RSI org

Every server follows the ranks of one RSI org. Under the server's tab, RSI org: pick ROMULANS for our own server, or an org whose owner has claimed it on romulans.org, and press Save org. Without an org Praetor does nothing on that server and sync can't be switched on. For a claimed org the site reads its public RSI member list at once (and every few hours after that); Read the member list now reads it again, for example right after promotions.

3. Choose the roles

Each row means: these people get this Discord role, everyone else loses it. Who can be:

  • Rank: … (the org's RSI ranks, e.g. Consul, Patrician): everyone with that rank in the org, main members and affiliates.

  • Members (main org): the org is their main org.

  • Affiliates: they have the org as an affiliate. An Affiliate role takes nothing away; in Discord you decide per channel what a role may see.

  • Site group: … (only on a server tied to ROMULANS): a group on romulans.org such as Officers or Recruits. Site groups are Romulan-internal, so they never give roles on another org's server.

  • Add the rank ladder fills in one row per RSI rank of the org (highest first), plus Member and Affiliate.

  • Add a role adds one row; pick Who.

  • Discord role: New role lets the bot create it, or pick an existing role to take it over (its name and colour are copied; change them if you like).

  • Name, Colour, Shown separately (its own block in the member list) and Mentionable (anyone may @mention it).

  • Remove stops managing that role. The role stays in Discord as it is.

Roles that aren't in a row are never touched, and the bot never kicks or bans anyone. A member whose membership is hidden on RSI still gets the rank of their main org (their citizen page shows it); a hidden affiliate can't be seen and gets nothing.

4. Preview, then save

The Preview updates while you edit: which roles will be created or changed, and who gets or loses which role, against the server as the bot last saw it. Problems show in red, for example a role above the bot's own.

  • Save stores the rows. With sync off nothing happens on Discord.
  • Switch sync on to apply. From then on the bot follows every change within seconds: a new link, a rank change on RSI, a member added to Officers, a removed link.
  • Save and apply (sync on) applies your edits straight away.

Safety

  • Large removals wait. If one run would take roles from more than 10 people and more than a quarter of the role holders, the bot holds the removals. Check the list in the preview and press I checked the list: carry out the removals.
  • Suspended or removed members (a security decision) lose the org's roles while it is in force.
  • The bot checks the whole server every 15 minutes too, so roles changed by hand in Discord are put back.
  • The Log shows every change: by staff (with their handle) and by the bot.

Banned players

A server tied to ROMULANS always keeps players banned by the Romulans out (discipline & bans): a confirmed ban is a Discord ban, a ban still waiting for a second officer is a kick, and when a ban ends the bot lifts the Discord ban it made. The bot uses every Discord account the player ever linked, and checks again whenever someone joins. A server tied to another org can switch Keeps banned players out on. More than 10 new bans at once wait for your confirmation, like large role removals. Bots added before 3 Dec 2026 need the new Kick and Ban Members rights: press Add the bot again.

Removing a server

  • Remove Praetor from this server (at the bottom of the server's panel): the bot leaves within seconds. The roles it gave stay in Discord as they are; delete them in Discord if you no longer want them.
  • As soon as it has left, the server disappears from the page by itself (its rows and log go with it). If someone kicked the bot in Discord instead, the server stays with Forget this server, which removes it. If the bot is ever added again, the server starts fresh with sync off.

When the bot is offline

The Bot panel shows when it last checked in. If it is offline nothing is lost: when it comes back it compares everything again and catches up.

Updated 03 Dec 2026 ← All help articles
An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.