Moderation & safety

Discord server rules bot: numbered, versioned rules your moderators can cite

Rules as Code turns your server rules into a structured document: sections with numbered rules like 3.2, each with a severity and a suggested action. Publish it to a rules channel and BotGG keeps the embeds up to date, stores every version with a diff, asks members to accept again after big changes and lets moderators cite the exact rule in /warn, /timeout, /kick and /ban.

  • Works on the Free plan
  • 1 slash command
  • Set up in the web console
rulesDiscord preview

BotGGBOTToday at 20:14

💬 3. Chat
3.1 Be respectful
No insults, slurs or harassment, including in DMs to other members.
🟠 High · ⚖️ Timeout 1 h

3.2 No spam
No repeated messages, mass mentions or unrelated links.
🟡 Medium · ⚖️ Warn

3.3 Stay on topic
Use the channel that fits the conversation.
🟢 Low
✅I accept the rules
A section of published rules in the rules channel

What you get

Structured rule editor

Sections and rules as rows, not one wall of text: title, text, severity and a suggested action with a duration. Drag to reorder and the numbers follow.

Published and kept in sync

BotGG posts the rules to your channel as embeds and edits them in place when you publish a change. A message deleted by hand is posted again.

Versions with diffs

Every publish is a version (1.0, 1.1, 2.0) with a note and a diff of what was added, removed, reworded or renumbered. Restore an old version to the draft in one click.

Accept and re-accept

An “I accept the rules” button can give a role. After a major version, the role can be taken back from members who haven’t accepted the new rules yet.

Rule citations in moderation

/warn, /timeout, /kick and /ban get a rule: option with autocomplete. The case, the mod log and the member’s DM show the rule that was broken.

Which rules get broken

Stats for 7 to 365 days: cases citing a rule, the most broken rules, cases per day and how many members accepted the current version.

How it works

  1. Enable Rules as Code

    Open https://console.botgg.app, choose your server and switch on Rules as Code in the Moderation section.

  2. Write your rules

    Add sections and rules in the editor with a severity and a suggested action for each. The draft saves itself and a live preview shows the Discord embeds in your bot language.

  3. Publish a version

    Pick the rules channel and press Publish. The dialog shows the diff and suggests a major or minor version; add a short note for the history.

  4. Use them every day

    Members read the rules in the channel or with /rule, accept them with the button, and moderators cite them with the rule: option.

Rules that stay readable and up to date

Each rule gets a number from its place in the document, so “rule 3.2” always means the same thing to members and moderators. Rules keep a stable identity behind the scenes, so diffs and moderation stats still follow a rule after you move or rename it. You can show the severity and the suggested action to members, or keep them for staff only.

The rules document holds up to 30 rules on the Free plan and 200 on Pro, in up to 25 sections. Verification can use the published rules in its rules step, and accepting there counts as accepting here.

  • /rule number [private]: show one rule by its number or title
  • rule: option on /warn, /timeout, /kick and /ban: cite the broken rule

Moderation that points to the rule

When a moderator picks a rule, the case remembers the rule and the version it belonged to. Without a typed reason, the reason becomes “Rule 3.2: No spam”. The mod log shows a Rule field, and the member’s DM can quote the rule’s title and text, which makes appeals easier to judge and arguments shorter.

Slash commands

Generated from the bot’s real command definitions. Full list on the commands page.

/rulenumberprivate?Show one of the server rules

Commands

Free vs Pro

Every feature works on the Free plan. Pro raises the limits and unlocks extras.

LimitFreePro
Rules in the rulebook30200

See pricing

Frequently asked questions

How do I make a rules channel on Discord with a bot?

Enable Rules as Code in the BotGG console, write your sections and rules in the editor, choose a rules channel and press Publish. BotGG posts the rules as embeds and keeps them updated whenever you publish a new version.

Can members accept the rules to get a role?

Yes. Turn on acceptance to add an “I accept the rules” button that can give a role. With re-acceptance on, a new major version takes the role back from members until they accept the new rules.

What is the difference between a major and a minor version?

A minor version (2.0 → 2.1) is a small fix, such as a typo. A major version (2.1 → 3.0) is a real change and can ask members to accept again. The publish dialog suggests major when rules were added, removed, reworded or re-rated.

How do moderators cite a rule?

Use the rule: option on /warn, /timeout, /kick or /ban. It autocompletes from the published rules, for example “3.2 No spam · ⚖️ Warn”. The case, mod log and member DM then show that rule.

How many rules can I write?

Up to 30 rules on the Free plan and 200 on Pro, in up to 25 sections. See pricing.

Ready to level up your server?

Add BotGG for free, then switch features on in the web console.