What we design around your workflow
Ready-made bots cover much of what a server needs, and we say so when they are enough. Custom work earns its keep when roles depend on your own data, moderation needs your rules and your records, or support tickets must reach your help desk. We design around Discord's model of interactions, intents, and permissions, so the bot asks for little, answers quickly, and keeps working as the server grows.
Slash commands
Commands, buttons, menus, and modal forms, acknowledged at once and completed later when the work runs long.
Onboarding and roles
Onboarding questions that assign roles and channels, plus role sync from your membership, store, or product data.
Layered moderation
AutoMod rules for keywords, spam, and mention floods, extended by bot checks, timeouts, and a case history.
Ticket system
A button that opens a private thread with staff, with categories, transcripts, and an optional help desk link.
Webhooks and APIs
Webhooks and API connections that post updates from your systems and carry out commands from the server.
Answer every interaction inside Discord's time limits
Slash commands, buttons, select menus, and modal forms all arrive as interactions, and Discord expects an initial response within 3 seconds, or the interaction token is invalidated. Slower work, such as a database lookup or a call to your CRM, starts with a deferred response that shows a loading state, and the bot edits in the result afterward; interaction tokens stay valid for 15 minutes. Modals collect short forms, such as an application or a bug report, without sending members to a website. Commands are grouped and described so members find them without a help page.
Defer, then deliver
Acknowledge immediately with a deferred response, then post the result when the slow work finishes.
Forms in modals
Use a modal for structured input such as an application, a report, or a ticket description.
A self-explaining command list
Group related actions under a few commands with clear descriptions, so the command picker does the teaching.
Primary sources
- Discord: Receiving and responding to interactionsThe 3-second initial response, deferred responses, modals, and 15-minute interaction tokens.
Request few intents and stay inside the rate limits
A bot receives gateway events only for the intents it declares, and three are privileged: server members, presences, and message content. Without the message content intent, a bot still sees content in its own messages, its DMs, messages that mention it, and messages a context menu command targets, which covers most command-driven bots. Apps in 100 or more servers must be verified, and verified apps need approval for each privileged intent, so declaring only what the features use saves review work later. Bots in 2,500 or more servers must also shard their gateway connections.
Read the headers
Pace REST calls from the X-RateLimit headers rather than hard-coded numbers, as Discord advises.
Back off on 429
Wait the retry_after time on any 429 response, within a global ceiling of 50 requests per second.
Fix, do not retry, invalid calls
Discord temporarily restricts IP addresses that send 10,000 invalid requests in 10 minutes, so permission errors get fixed rather than repeated.
Primary sources
- Discord: GatewayPrivileged intents, message content exceptions, verification for apps in 100 or more servers, and sharding.
- Discord: Rate limitsPer-route and global limits, rate-limit headers, 429 handling, and the invalid request limit.
Build moderation, onboarding, and tickets on Discord's own tools
Discord's AutoMod rules match keywords, generic spam, mention floods, or words in member profiles, and respond by blocking the message, alerting staff, or, for keyword and mention rules, timing the member out. Each server gets up to six keyword rules and one rule of each other type, so the bot fills the gaps: context checks, escalation, case history, and appeals. Onboarding questions assign roles and channels as members join, and the bot keeps those roles in step with your membership data afterward. Support runs through tickets: a button opens a private thread that only invited people and moderators with Manage Threads can see.
Timeouts within bounds
Timeouts run up to 28 days, and AutoMod timeout actions also need the Moderate Members permission.
One case file per member
Keep warnings, timeouts, and appeals together, with links to the messages involved, so staff decide with facts.
Ticket transcripts
Save each ticket thread as a transcript when it closes, and send it to your help desk if you use one.
Primary sources
- Discord: Auto ModerationTrigger types, per-server rule limits, actions, and the permissions AutoMod requires.
- Discord: Guild resourceOnboarding prompts that assign roles and channels, and limits on member timeouts.
- Discord: ThreadsPrivate threads are visible only to invited members and moderators with Manage Threads.
For token-gated communities, verify wallets without touching keys
Crypto and NFT communities often gate channels by holdings. The safe pattern is a signed message: the member opens your verification page, signs a Sign-In with Ethereum message (ERC-4361) that carries a fresh nonce and your domain, and the backend checks the signature and reads balances from the chain. No step asks for a seed phrase, a private key, or a transaction approval, and the pinned rules say so. The bot then grants roles directly or through Discord's linked roles, and rechecks holdings on a schedule so roles follow sales.
Keys are never requested
The bot, the site, and staff never ask for seed phrases, private keys, or transaction signatures; any message that does is treated as a scam.
Scam-link defense
AutoMod keyword and regex rules block known phishing domains and lookalike links, and the bot alerts moderators to new ones.
Impersonation checks
A member-profile rule flags names that copy staff or the project, so moderators can act on impersonators early.
Primary sources
- ERC-4361: Sign-In with EthereumThe standard sign-in message for Ethereum accounts, with a nonce against replay and binding to the requesting domain.
- Discord: Application role connection metadataHow an app stores metadata that servers use as linked-role requirements.
Realistic limits and operator controls
An existing bot may cover it
If leveling, reaction roles, and basic filters are all you need, a hosted bot is simpler to run, and we will tell you.
Public bots face review
A bot that grows past 100 servers must pass Discord's verification, and each privileged intent needs approval, which can shape the roadmap.
Holdings checks are snapshots
Token gating checks holdings at verification and on a schedule, so a member who sells keeps access until the next recheck.
Frequently asked questions
Why build a custom Discord bot instead of using an existing one?
When you need behavior no general bot offers: roles synced from your own systems, moderation that follows your written policy, or tickets that land in your help desk. If an existing bot already does the job, we recommend it.
Does the bot need the message content intent?
Often not. Slash commands, buttons, and mentions work without it, and Discord still delivers content in DMs, mentions, and the bot's own messages. We request it only when a feature must read general chat.
Can you add a ticket system?
Yes. Members open a ticket from a button, the bot creates a private thread with staff, and the transcript is saved or sent to your help desk when the ticket closes.
Is wallet verification safe for members?
It uses a signed sign-in message, which is not a transaction and approves no transfer, and it never asks for a seed phrase or private key. Members should still confirm they are on your real verification domain.
