Specs / 13. Discord Bot Architecture & Command Design

13. Discord Bot Architecture & Command Design

> Historical architecture note: this document captures an older multi-module command model.

© 2024–2026 TiltCheck Ecosystem. All Rights Reserved. Last Updated: 2026-04-12

13. Discord Bot Architecture & Command Design

> Historical architecture note: this document captures an older multi-module command model.

> It is not the live slash-command source of truth anymore.

> Use docs/discord-command-ownership.md for the current command split across TiltCheck, JustTheTip, and DAD.

This document defines all Discord bot logic for TiltCheck, including:

TiltCheck is Discord-first, so this file is core to how users experience the entire ecosystem.

---

13.1 Overview

TiltCheck runs as a single Discord bot, but internally behaves like:

Modules attach commands via a shared Command Hub.

---

13.2 Bot Permissions

Recommended permissions:

Read Messages

Send Messages

Use Slash Commands

Embed Links

Attach Files

Add Reactions

Manage Messages (mod-only commands)

Read Message History

The bot must not require:

unless absolutely necessary.

---

13.3 Command Groups

TiltCheck organizes slash commands by category:

/tip

/airdrop

/swap

/wallet

/scan

/promo

/bonus

/predict

/tilt

/trust

/surveys

/friend

/play

/help

Each group maps to a module.

---

13.4 Full Command List

Below are all commands in canonical form.

---

13.4.1 JustTheTip Commands

/tip @user <amount> <token>

Send a non-custodial tip.

/airdrop <amount> <token> <role or list>

Mass send.

/swap <amount> <from> <to>

Perform Jupiter swap (post-fee).

/mywallet

Display wallet.

/setwallet <address>

Bind wallet.

---

13.4.2 SusLink Commands

/scan <url>

Scan URL for risk.

/risk <url>

Short summary.

/linkinfo <url>

Full redirect-chain + domain metadata.

---

13.4.3 FreeSpinScan Commands

/submit <url> <bonus-type> <notes>

Submit free spins / promo.

/promos

List latest approved promos.

/promos pending (mods only)

View pending queue.

/approve <id> (mods only)

Approve a promo.

/deny <id> (mods only)

Reject a promo.

---

13.4.4 CollectClock Commands

/bonus

Show current bonus expected value.

/bonus set <casino> <amount>

User-submitted value.

/bonus history <casino>

Show historical values.

/bonus predict <casino>

Forecast next likely bonus drop.

/bonus nerfs

List recent nerfs across casinos.

---

13.4.5 QualifyFirst Commands

/qualify

Show best-match surveys.

/survey profile

Show trait profile.

/survey improve

Micro-questions to refine traits.

---

13.4.6 DA&D (Degens Against Decency) Commands

/play

Start a game.

/play join

Join active lobby.

/play card <option>

Submit card.

/play vote

Vote on cards.

/play end

End game (mods/host only).

---

13.4.7 Tilt Engine Commands

/tilt

Show your tilt signals summary.

/tilt cooldown

Enable cooldown.

/tilt lock

Vault lock activation.

---

13.4.8 Degen Trust Commands

/trust me

Show your trust score.

/trust explain

Explain your trust score changes.

/trust report @user <reason>

Submit a community signal.

Mods:

/trust modlog @user

/trust reset @user

---

13.4.9 Accountabilibuddy Commands

/friend add @user

Link accountability buddy.

/friend ping

Ping accountability buddy.

/friend remove

Unlink.

---

13.5 Bot Event Listeners

TiltCheck listens to several Discord events:

MessageCreate

InteractionCreate

GuildMemberAdd

GuildMemberRemove

---

13.6 Moderation Tools

Moderators get:

Inline Shortcuts:

Anti-Spam:

Scam Enforcement:

---

13.7 User Experience Philosophy

TiltCheck bots must always:

Discord UX is the heart of the product.

---

13.8 Rate Limits

User-level:

Channel-level:

Bot-level:

---

13.9 Error Handling Rules

Errors must be:

Example:

Error: Wallet missing.

Use /setwallet

to continue.

Never output stack traces.

---

13.10 Logging

Bot logs include:

Logs must remain private and non-PII.

---

End of 13-discord-bots.md