Abyssal
Home
Tools
Docs
Support
Dashboard
# Custom Commands Custom Commands lets you build your own text commands for the server, complete with responses, embeds, buttons, parameters and follow-up actions. Commands run as prefix text commands, for example `!mycommand`. ## Enabling Enable Custom Commands from the Modules page on your server's dashboard. Create and edit commands on the module's dashboard page. ## Dashboard configuration Commands live in a list with a Create/Edit dialog containing: - **General**: the **Command Name** (lowercase letters, numbers, hyphens and underscores). The command is enabled from the toggle on its entry row. - **Response**: a message builder for plain text, embeds, link buttons and Components V2 layouts, all with variables. The **Message Type** row picks between the legacy text plus embeds builder and the Components V2 builder, and the reply always sends in the shape it was built in. The **Browse Variables** button opens the shared variable browser; click into any text field first and picks paste where your cursor is. - **Random Responses**: an optional pool of up to 25 responses the bot picks from at random, replacing the normal response. - **Parameters**: up to 10 parameters, filled positionally from the words typed after the command, with the last one taking the remaining words. Each parameter has a type: **Text** (any words), **User (mention or ID)** or **Channel (mention or ID)**. A user parameter accepts a mention or a raw user ID and resolves to that member; a channel parameter accepts a channel mention or a raw channel ID. When a required user or channel parameter cannot be resolved, the command replies with an error naming the parameter. - **Permissions**: required roles; empty allows everyone. - **Staff Conditions**: **Only Staff Can Use**, **Minimum Staff Rank**, **Staff Group** and **Block While On LOA**, driven by the Staff module's ladder and groups. - **Actions**: up to 10 follow-ups - **Grant Currency**, **Grant XP**, **Add Role**, **Remove Role**, **DM the User**, **Send Message**, **Timeout the User**, **Punish (Ladder)**, and Staff roster actions for promote, demote, strike and leave of absence. Every action that targets a member carries an **Acts on** picker once the command has a user parameter: leave it on **The member using the command** or link the action to one of the user parameters so it applies to whoever the member filled in (for example punishing or paying the person named in a parameter). **Send Message** carries a **Sends to** picker once a channel parameter exists: pick a channel there, or link a channel parameter; when the parameter is left empty the picked channel is used. - **Rate Limits and Behavior**: a per-member **Cooldown (seconds)**, **Reply To The User** (the response replies to the message that used the command; off sends a plain channel message) and **Delete Trigger Message**. - Templates (Text Response, Embed Response, Random Response, Action Only, Blank) give quick starts: every template except Blank opens with real starter content, like an example response with variables, a filled embed, a pool of three example responses or a currency action. Required fields are marked while they are empty: the Command Name and the Response card carry a red **Required** chip until the name is typed and the command has a response, a random pool or an action. The Parameters, Permissions, Staff Conditions, Actions and Rate Limits sections start collapsed until you need them, and the embed and button builders sit behind the collapsible **Embeds and Link Buttons** header in the Response card (the chevron sits on its right) and open automatically when the command already has an embed, a button or a component layout. A server can have up to 25 commands. ## How it works / Key flows - Text commands are matched on the server's text command prefix, for example `!mycommand`, and answer right away. While a command is running the bot shows the same pending emoji it uses for the built-in text commands, so slow actions never look stuck. Commands are managed entirely in the dashboard; Discord registers nothing for them. - Responses and actions support variables like `{user}`, `{user.display}`, `{user.id}`, `{server}`, `{server.memberCount}`, `{channel}`, `{time}`, `{date}`, `{args}`, positional `{1}` and `{2}`, and parameter names like `{paramname}`. A user parameter renders as a live mention of the member it resolved to, and a channel parameter renders as a channel mention. Typed text cannot ping `@everyone`, `@here` or roles. - Missing parameters reply with a usage hint, unresolvable user or channel parameters reply with an error naming the parameter, cooldowns reply with the remaining seconds, and members without an allowed role or a staff condition are rejected silently. - Command names must be 1-32 lowercase letters, numbers, hyphens or underscores; names clashing with built-in commands are refused. ## Notes - **Grant Currency** needs the Economy module and can target an extra currency; **Grant XP** needs Levelling and announces level ups in the channel. Both follow the **Acts on** link: the member running the command by default, or the member from a linked user parameter. - Staff roster actions queue through the Staff module; timeout actions respect role hierarchy. A linked action on an empty optional parameter does nothing, so nothing ever lands on the person who ran the command by accident. - Blacklisted or suspended users cannot run custom commands.