BotManualTHE COMMUNITY PLAYBOOK
English

Build a custom command and a controlled auto-reply

An admin workshop for Custom commands: a worked setup, settings explained, day-to-day operation and a complete verification checklist.

18 min read

WHAT YOU WILL BUILD

A published custom command and a keyword reply restricted to the intended context.

Follow the steps, try the example and use the checklist before opening it to your community.

On this page

Your mission

A published custom command and a keyword reply restricted to the intended context. This workshop uses a small first rollout so you can see the complete result before opening it to the whole community. The example is a starting recipe; keep your server's own rules and audience in mind when choosing the final values.

Step 1: Prepare your server

Open your server dashboard and select the correct server, then open Custom commands. Enable the feature before running the example. Choose a simple first command such as a server FAQ answer. Check the name does not collide with an existing command and choose who may use it.

Read Roles and permissions if a destination or role cannot be selected. For channel-based actions, check permissions in the actual channel, including its category overrides. For automatic role changes, the bot needs Manage Roles and a position above the role it will assign. Only grant the permissions needed by your chosen workflow.

Step 2: Build your first working example

1. Create the response

Add plain text first, then an embed or button if it helps. Use supported option and member variables through the editor. Preview a missing optional argument as well as a filled one.

2. Add an auto-reply separately

Choose a trigger type, phrase, channels and cooldown. Start with an exact, unusual phrase in a test channel. Decide whether the first matching reply wins or all matching replies run.

3. Publish and test

Save the command and allow command registration to update. Try the exact slash command and the auto-reply phrase as a normal member. Staff bypass can hide a restriction during an administrator-only test.

After changing the server-wide settings, use Save changes. An item editor, draft, preview or test action is a separate part of the workflow: read its save or publish action before expecting a public Discord post. Reopen the saved item to confirm the destination, access rules and values you intended.

Step 3: Understand the settings

Initial values below describe a new configuration. Your server may already have different saved values. A field with no initial value is chosen in its editor. Optional sections can stay inactive until the basic setup works. Empty and zero do not have one universal meaning; use the explanation for that specific field.

General

SettingInitial valueWhat it changes and how to use it
Reply modefirstAuto-replies: first matching rule only, or every match. Options: first, all.
Staff skip limitsOnMembers with Manage Server ignore command cooldowns, role and channel limits.

Step 4: Configure the items inside this feature

Server-wide settings and individual entries serve different purposes. These tables describe the selected entry editors. Set up one complete entry first, save it, and confirm it works before adding the rest. Fields for an alternative type apply only when that type is selected.

Command

SettingInitial valueWhat it changes and how to use it
NameChoose in editorText used for name. Check the preview and use only the variables offered by this editor.
DescriptionChoose in editorText used for description. Check the preview and use only the variables offered by this editor. 1–100 characters.
Description ruNot setText used for description ru. Check the preview and use only the variables offered by this editor. Up to 100 characters.
EnabledOnSwitch enabled on or off. This controls this option only; related options keep their own settings.
Option · typenoneChoose how option · type behaves from the supported options. Options: none, user, text.
Option · namevalueText used for option · name. Check the preview and use only the variables offered by this editor.
Option · descriptionValueText used for option · description. Check the preview and use only the variables offered by this editor. 1–100 characters.
Option · description ruNot setText used for option · description ru. Check the preview and use only the variables offered by this editor. Up to 100 characters.
Option · requiredOffSwitch option · required on or off. This controls this option only; related options keep their own settings.
Response · variantsChoose in editorAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. 1–10 entries.
Response · variants entries · contentNot setSet response · variants entries · content in the editor. Check it alongside the other fields in this section before saving. Up to 2000 characters.
Response · variants entries · embed · titleNot setText used for response · variants entries · embed · title. Check the preview and use only the variables offered by this editor. Up to 256 characters.
Response · variants entries · embed · descriptionNot setText used for response · variants entries · embed · description. Check the preview and use only the variables offered by this editor. Up to 4000 characters.
Response · variants entries · embed · colorNot setAppearance of this part of the card or interface. A color change does not change eligibility or permissions.
Response · variants entries · embed · image urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 500 characters.
Response · variants entries · embed · thumbnail urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 500 characters.
Response · variants entries · embed · footerNot setText used for response · variants entries · embed · footer. Check the preview and use only the variables offered by this editor. Up to 2048 characters.
Response · variants entries · embed · fieldsNo entriesAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. up to 25 entries.
Response · variants entries · embed · fields entries · nameChoose in editorText used for response · variants entries · embed · fields entries · name. Check the preview and use only the variables offered by this editor. 1–256 characters.
Response · variants entries · embed · fields entries · valueChoose in editorSet response · variants entries · embed · fields entries · value in the editor. Check it alongside the other fields in this section before saving. 1–1024 characters.
Response · variants entries · embed · fields entries · inlineOffSwitch response · variants entries · embed · fields entries · inline on or off. This controls this option only; related options keep their own settings.
Response · buttonsNo entriesAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. up to 10 entries.
Response · buttons entries · kindChoose in editorChoose how response · buttons entries · kind behaves from the supported options. Options: link, role, shop.
Response · buttons entries · labelNot setText used for response · buttons entries · label. Check the preview and use only the variables offered by this editor. Up to 80 characters.
Response · buttons entries · emojiNot setSet response · buttons entries · emoji in the editor. Check it alongside the other fields in this section before saving. 1–64 characters.
Response · buttons entries · urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 512 characters.
Response · buttons entries · roleNot setSet response · buttons entries · role in the editor. Check it alongside the other fields in this section before saving.
Response · buttons entries · stylesecondaryChoose how response · buttons entries · style behaves from the supported options. Options: primary, secondary, success, danger.
Response · buttons entries · storeNot setSet response · buttons entries · store within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–9999999999; whole numbers.
Response · buttons entries · categoryNot setSet response · buttons entries · category in the editor. Check it alongside the other fields in this section before saving. Up to 32 characters.
EphemeralOffSwitch ephemeral on or off. This controls this option only; related options keep their own settings.
Cooldown seconds0Per-member cooldown for this custom command. A member must wait before repeating it unless their permissions qualify for the command’s bypass. 0–86400; whole numbers.
Allowed roleNo entriesChoose the allowed role for this section. A role selector identifies a role; it does not add Discord permissions to it. up to 25 entries.
Allowed channelNo entriesChoose the allowed channel for this section. Check the bot's access in the selected destination. up to 50 entries.

Auto reply

SettingInitial valueWhat it changes and how to use it
NameChoose in editorText used for name. Check the preview and use only the variables offered by this editor. 1–50 characters.
EnabledOnSwitch enabled on or off. This controls this option only; related options keep their own settings.
TriggersChoose in editorAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. 1–20 entries.
Triggers entries · typecontainsChoose how triggers entries · type behaves from the supported options. Options: contains, exact, startsWith, endsWith, word, regex.
Triggers entries · valueChoose in editorSet triggers entries · value in the editor. Check it alongside the other fields in this section before saving. 1–300 characters.
Case sensitiveOffSwitch case sensitive on or off. This controls this option only; related options keep their own settings.
Allowed channelNo entriesChoose the allowed channel for this section. Check the bot's access in the selected destination. up to 50 entries.
Ignored channelNo entriesChoose the ignored channel for this section. Check the bot's access in the selected destination. up to 50 entries.
Required roleNo entriesChoose the required role for this section. A role selector identifies a role; it does not add Discord permissions to it. up to 25 entries.
Ignored roleNo entriesChoose the ignored role for this section. A role selector identifies a role; it does not add Discord permissions to it. up to 25 entries.
Cooldown user seconds0Per-member cooldown for this automatic reply rule. It stops one person from repeatedly triggering that rule while other members keep their own cooldowns. 0–86400; whole numbers.
Cooldown channel seconds0Shared cooldown for this automatic reply rule within a channel. A trigger by one member can make another member in that channel wait too. 0–86400; whole numbers.
Actions · reply · variantsChoose in editorAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. 1–10 entries.
Actions · reply · variants entries · contentNot setSet actions · reply · variants entries · content in the editor. Check it alongside the other fields in this section before saving. Up to 2000 characters.
Actions · reply · variants entries · embed · titleNot setText used for actions · reply · variants entries · embed · title. Check the preview and use only the variables offered by this editor. Up to 256 characters.
Actions · reply · variants entries · embed · descriptionNot setText used for actions · reply · variants entries · embed · description. Check the preview and use only the variables offered by this editor. Up to 4000 characters.
Actions · reply · variants entries · embed · colorNot setAppearance of this part of the card or interface. A color change does not change eligibility or permissions.
Actions · reply · variants entries · embed · image urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 500 characters.
Actions · reply · variants entries · embed · thumbnail urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 500 characters.
Actions · reply · variants entries · embed · footerNot setText used for actions · reply · variants entries · embed · footer. Check the preview and use only the variables offered by this editor. Up to 2048 characters.
Actions · reply · variants entries · embed · fieldsNo entriesAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. up to 25 entries.
Actions · reply · variants entries · embed · fields entries · nameChoose in editorText used for actions · reply · variants entries · embed · fields entries · name. Check the preview and use only the variables offered by this editor. 1–256 characters.
Actions · reply · variants entries · embed · fields entries · valueChoose in editorSet actions · reply · variants entries · embed · fields entries · value in the editor. Check it alongside the other fields in this section before saving. 1–1024 characters.
Actions · reply · variants entries · embed · fields entries · inlineOffSwitch actions · reply · variants entries · embed · fields entries · inline on or off. This controls this option only; related options keep their own settings.
Actions · reply · buttonsNo entriesAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. up to 10 entries.
Actions · reply · buttons entries · kindChoose in editorChoose how actions · reply · buttons entries · kind behaves from the supported options. Options: link, role, shop.
Actions · reply · buttons entries · labelNot setText used for actions · reply · buttons entries · label. Check the preview and use only the variables offered by this editor. Up to 80 characters.
Actions · reply · buttons entries · emojiNot setSet actions · reply · buttons entries · emoji in the editor. Check it alongside the other fields in this section before saving. 1–64 characters.
Actions · reply · buttons entries · urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 512 characters.
Actions · reply · buttons entries · roleNot setSet actions · reply · buttons entries · role in the editor. Check it alongside the other fields in this section before saving.
Actions · reply · buttons entries · stylesecondaryChoose how actions · reply · buttons entries · style behaves from the supported options. Options: primary, secondary, success, danger.
Actions · reply · buttons entries · storeNot setSet actions · reply · buttons entries · store within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–9999999999; whole numbers.
Actions · reply · buttons entries · categoryNot setSet actions · reply · buttons entries · category in the editor. Check it alongside the other fields in this section before saving. Up to 32 characters.
Actions · reply as replyOnSwitch actions · reply as reply on or off. This controls this option only; related options keep their own settings.
Actions · mention authorOffSwitch actions · mention author on or off. This controls this option only; related options keep their own settings.
Actions · reactionsNo entriesThe selected actions · reactions entries. Add each selection in the editor and check the resulting list before saving. up to 10 entries.
Actions · delete triggerOffSwitch actions · delete trigger on or off. This controls this option only; related options keep their own settings.
Actions · DM · variantsChoose in editorAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. 1–10 entries.
Actions · DM · variants entries · contentNot setSet actions · dm · variants entries · content in the editor. Check it alongside the other fields in this section before saving. Up to 2000 characters.
Actions · DM · variants entries · embed · titleNot setText used for actions · dm · variants entries · embed · title. Check the preview and use only the variables offered by this editor. Up to 256 characters.
Actions · DM · variants entries · embed · descriptionNot setText used for actions · dm · variants entries · embed · description. Check the preview and use only the variables offered by this editor. Up to 4000 characters.
Actions · DM · variants entries · embed · colorNot setAppearance of this part of the card or interface. A color change does not change eligibility or permissions.
Actions · DM · variants entries · embed · image urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 500 characters.
Actions · DM · variants entries · embed · thumbnail urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 500 characters.
Actions · DM · variants entries · embed · footerNot setText used for actions · dm · variants entries · embed · footer. Check the preview and use only the variables offered by this editor. Up to 2048 characters.
Actions · DM · variants entries · embed · fieldsNo entriesAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. up to 25 entries.
Actions · DM · variants entries · embed · fields entries · nameChoose in editorText used for actions · dm · variants entries · embed · fields entries · name. Check the preview and use only the variables offered by this editor. 1–256 characters.
Actions · DM · variants entries · embed · fields entries · valueChoose in editorSet actions · dm · variants entries · embed · fields entries · value in the editor. Check it alongside the other fields in this section before saving. 1–1024 characters.
Actions · DM · variants entries · embed · fields entries · inlineOffSwitch actions · dm · variants entries · embed · fields entries · inline on or off. This controls this option only; related options keep their own settings.
Actions · add roleNo entriesChoose the add role for this section. A role selector identifies a role; it does not add Discord permissions to it. up to 25 entries.
Actions · remove roleNo entriesChoose the remove role for this section. A role selector identifies a role; it does not add Discord permissions to it. up to 25 entries.

Test the whole journey

  1. Run the command with and without an optional argument and inspect the rendered response.
  1. Send matching and non-matching phrases and verify only the intended reply and channel respond.
  1. Repeat the relevant member action with an ordinary member account and the staff action with your intended staff role. An administrator test alone can hide permission restrictions. Check both the response in Discord and the saved record or result in the dashboard.
  1. Change one setting that affects the result, save it, and repeat the same test. Record the previous value so you can restore it if the new behavior is not what you wanted.

Follow the complete workflow

1. Enable Custom commands

Open your server dashboard, pick your server and switch on Custom commands. Choose whether only the first matching auto-reply runs or all of them.

2. Create a command

Give it a name like ip, a description and an answer. Add an optional user or text option, buttons, a cooldown and the roles or channels that may use it.

3. Add auto-replies

Type the keywords, pick how they match and what the bot does. The test box shows which rule would fire for any message before you save.

4. Use it in Discord

Members type /ip or ask “what’s the ip?” in chat and get the answer right away. The dashboard shows how often each command and rule was used.

Operation and behavior in detail

Custom slash commands that behave like built-in ones

Each custom command is registered with Discord as a slash command for your server only, so members get autocomplete and descriptions instead of guessing a !prefix command. A command can take one option, a member or a short text, which you insert into the answer with {option}. Make the answer visible to everyone or only to the person who ran it (an ephemeral reply). Only member mentions ever ping; roles and @everyone in an answer stay silent.

You can create up to 10 commands on Free and 100 on Pro. Names of the bot’s own commands are reserved, and Discord allows up to 100 server commands per bot. If a command can’t be registered, the dashboard shows why.

  • {user}, {user.mention}, {user.name}, {user.id}: the member
  • {server}, {channel}, {membercount}: where it happened
  • {option}: the value typed into the command option
  • {random:a|b|c}: one of several words or phrases

An auto responder that stays under control

Auto-replies run in the order you set. Limit them to certain channels or roles, ignore others, and add a cooldown per member and per channel so a busy chat doesn’t turn into bot spam. Bots, webhooks and system messages never trigger a rule, and a built-in cap stops runaway replies during a spam wave.

Reading message text needs Discord’s Message Content access for the bot; without it, rules only see messages that mention the bot, and the dashboard tells you so. You can have up to 10 auto-replies on Free and 100 on Pro. For multi-step automations, open a rule in Flows with one click.

When something looks wrong

SymptomWhat to inspectHow to recover
Several replies fire for one messageFirst/all reply mode and overlapping triggers.Narrow the triggers or select first-match mode, then repeat the same test phrase.
The saved setup produces no visible resultWhether the feature is enabled, the required action has actually happened, and the selected destination still exists.Follow the worked example once, then inspect the response before retrying. A saved configuration alone does not perform every action.
Staff can use it, but an ordinary member cannotMember eligibility, selected roles, channel overrides and Discord command permissions.Test with the affected role combination. Correct the specific restriction and test again.
A role, reward or message is missingThe related feature, destination permissions and the result of the original action.Confirm what already completed before repeating an action that spends currency, sends a message or grants a reward.

Feature-specific questions

How do I make a custom command on Discord?

Invite the bot, open the dashboard, enable Custom commands and click New command. Enter a name, a description and the answer, then save. The slash command appears in your server’s / menu about half a minute later.

What is the difference between a custom command and an auto-reply?

A custom command runs when a member types it in the / menu. An auto-reply watches normal chat messages and reacts when a keyword or pattern matches, with no command needed.

Can a custom command give a role?

Yes. Add a role button to the answer: each click adds the role or removes it again. Auto-replies can also add or remove roles directly. The role must be below the bot, and roles with dangerous permissions are blocked unless listed under Privileged roles.

Why doesn’t my auto-reply react to messages?

Check that the rule is enabled and its channel and role filters fit, then try your message in the dashboard’s test box. If the bot has no Message Content access, it only sees messages that mention it, and the dashboard shows a notice.

How many custom commands can I create?

Up to 10 commands and 10 auto-replies on the Free plan, and 100 of each on Pro. See pricing.

Launch checklist

  • Run the command with and without an optional argument and inspect the rendered response.
  • Send matching and non-matching phrases and verify only the intended reply and channel respond.
  • The saved setup and the actual Discord result match the example you chose.
  • A regular member and the intended staff role can complete their respective steps.
  • Optional rewards, notifications and public destinations are intentional.
  • Another admin knows which settings to change, how to inspect a result and how to stop or correct the workflow.

Share Custom commands basics with someone who needs an overview. Use the command reference below for exact command names and required options.

Commands for this feature

This feature is used through its console settings, messages or buttons. It has no dedicated command in the current reference.

Find an answer

Search features, commands and the full text of every guide.

Start typing to find a guide.

Browse all guides