Custom Commands
Create your own slash commands with variables, role actions, and auto-triggers.
Build server-specific slash commands that appear directly in Discord's command picker — no coding required.
Creating a command
/custom add name:welcome
Set the response text, optional embed, role actions, and when it should fire. Commands register instantly as real slash commands.
Placeholders
Use these in response text to make commands dynamic:
| Placeholder | Replaced with |
|---|---|
{user} | Mention of the person who ran the command |
{user.name} | Their display name |
{server} | Server name |
{channel} | Channel mention |
{members} | Total member count |
{arg:name} | A custom argument you define |
Random responses
Separate multiple variants with a blank line. Cortex picks one at random each time — great for varied greetings or tips.
Arguments
Define typed arguments (text, number, user, channel, role) so members fill in values when they run the command. Arguments are accessed with {arg:name}.
Role actions
Automatically add or remove roles when the command runs. Pair with a response like "Role granted!" for instant feedback.
Auto-triggers
Set a when trigger so the command fires automatically on events like member join, keyword match, or voice activity — no slash command needed.
Limits
| Limit | Value |
|---|---|
| Commands per server | 50 |
| Name length | 32 characters |
| Name format | Lowercase, letters, numbers, hyphens, underscores |
