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.
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.

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.
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.
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.
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.
/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.
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.
Open https://console.botgg.app, choose your server and switch on Rules as Code in the Moderation section.
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.
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.
Members read the rules in the channel or with /rule, accept them with the button, and moderators cite them with the rule: option.
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 titlerule: option on /warn, /timeout, /kick and /ban: cite the broken ruleWhen 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.
Generated from the bot’s real command definitions. Full list on the commands page.
/rulenumberprivate?Show one of the server rulesEvery feature works on the Free plan. Pro raises the limits and unlocks extras.
| Limit | Free | Pro |
|---|---|---|
| Rules in the rulebook | 30 | 200 |
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.
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.
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.
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.
Up to 30 rules on the Free plan and 200 on Pro, in up to 25 sections. See pricing.
Add BotGG for free, then switch features on in the web console.