Custom commands
Canned replies your staff post with one slash command: someone runs /cmd name:transfer in Discord and the bot posts the answer you wrote once, on the dashboard.
Where: Dashboard โ Content โ Custom commands ยท In Discord: /cmd, then pick the command from the list, for example /cmd name:transfer
#How it works
Every custom command has a name. In Discord, a staff member types /cmd, starts typing in the name option, and picks the command from the list. The list only shows the commands that person may use in that channel, with each command's description beside its name. The bot then posts your reply in the channel for everyone to see.
/cmd has two optional extras:
- user: who the reply is for. It fills
{user}, so the reply can ping that member. - text: anything extra the reply needs. It fills
{args}.
If someone runs a command they are not allowed to use, or its cooldown has not finished, only they see a short note saying so.
Custom commands used to be typed with a prefix, such as !transfer. They now run through /cmd, and the prefix setting is gone. Every command you already had works as /cmd name:<command> with nothing to change.
#Create a command
Fill in New command and press Add command. A server can hold up to 100 custom commands.
| Setting | What it does |
|---|---|
| Command | The name, run as /cmd name:<name>. Lowercase letters, numbers, dashes, and underscores, up to 32 characters. Must be unique across all names and aliases in the server. |
| Aliases | Up to 5 other names that run the same command, comma separated. |
| Description | Up to 120 characters. Shown next to the name in the /cmd list, so staff know what the command is for. |
| Response | The reply text, required, up to 1,800 characters. |
| Who can use it | Staff, Specific roles, or Everyone (see below). |
| Roles | Shown when Specific roles is chosen. Pick up to 25 roles; at least one is required. |
| Only in | Limit the command to channels or categories (up to 25). Leave it empty to allow it everywhere; picking a category covers every channel inside it. |
| Reply style | Text for a normal message, or Embed for a card. |
| Embed title | Embed style only. Up to 100 characters. |
| Embed colour | Embed style only. A hex colour; blank uses Discord blurple. |
| Who ran it | Hide it posts the reply as a plain bot message, without Discord's "used /cmd" line above it. Show it keeps that line. |
| Cooldown (seconds) | Per channel, 0-3600. 0 means no cooldown. |
A live Preview under the response box shows what Discord will render, with sample values filled into the placeholders.
#Placeholders
| Placeholder | Becomes |
|---|---|
{user} | The member picked in the user option, otherwise whoever ran the command. |
{author} | Whoever ran the command. |
{args} | Whatever was typed in the text option. |
{channel} | The current channel. |
{server} | The server name. |
{prefix} | /cmd (kept so older replies such as "use {prefix}transfer" still read right). |
#channel-name | A channel name written in the response becomes a clickable channel link. |
Your response text can mention users and roles normally. Text a member types in the text option ({args}) has role mentions stripped out, so nobody can use a command to make the bot ping a role.
#Who can use a command
| Choice | Who it covers |
|---|---|
| Staff | Administrators, plus roles in a permission group. See Permissions. |
| Specific roles | Members with at least one of the roles you pick. Administrators and anyone with Manage Server can always use it too. |
| Everyone | Any member of the server. |
#Edit, disable, and delete
Every command in Your commands shows its name and aliases, who can use it, badges for embed style, channel limits, cooldown, and whether it is disabled, plus how many times it has been used and when it was last used.
- Edit opens the same fields inline; Save changes applies them.
- The switch on the right turns a command off without deleting it. A disabled command no longer shows in the
/cmdlist. - Delete removes it for good, after a confirmation.
Changes take effect in Discord straight away; there is nothing to reload or re-register.
#How they differ from FiveUnity's own slash commands
| Custom commands | Built-in slash commands | |
|---|---|---|
| Run as | /cmd name:<command>, picked from a list | /name |
| Where they come from | Written by you on this page | Built into FiveUnity |
| Options | user and text | Structured options Discord validates |
| Who can use them | Staff / specific roles / everyone, set per command | Permission groups, set in Permissions |
| Channel limits and cooldowns | Set per command here | Set in Slash commands |
All custom commands share the one /cmd slash command because Discord allows 100 slash commands per server and FiveUnity's own already use most of them.
If you want an answer members can discover for themselves, a documentation page is usually the better home; see Documentation.
#Tips
Give long commands a short alias (transfer with the alias tf) so staff can answer quickly during a busy queue.
Turn on Hide who ran it for commands used in public channels. The channel then shows only the answer.
Set a small cooldown on commands that post large embeds so a single channel cannot be flooded with them.
#Related
- Embeds: one-off rich messages and reusable announcements.
- Documentation: full guides at your own FiveUnity link.
- Permissions: what counts as staff.
- Slash commands: channel limits and cooldowns for the built-in commands.