Skip to content

Custom Commands

Server-defined slash commands that respond with a configurable text / embed reply. No code required.

Use cases

  • /rules → posts your rules embed
  • /socials → links to your Twitter, YouTube, Instagram
  • /staffapp → instructions for applying to staff
  • /uptime → custom server status message

Where it lives

Dashboard: Custom Commands.

Setup

  1. Click Add command.
  2. Pick the command name (e.g. rules) — exposed in chat as /rules.
  3. Pick the response type:
    • Text — plain text reply
    • Embed — rich embed (use Embed Builder to design)
  4. Write the response. Supports placeholders:
    • {user}, {user.mention} — invoker
    • {args} — what the invoker typed after the command
    • {guild}, {guild.name} — server name
    • {channel} — current channel
  5. Save.

The command is registered with Discord within a few seconds and appears in the slash-command picker for your server.

Logic

Custom Commands support a small templating language for conditional logic + light arithmetic:

{if args == "help"}
  See the rules at <#rules-channel-id>
{else}
  Use `/rules help` to see the rules.
{endif}

This is intentionally limited to text manipulation — no external calls, no Discord actions. For richer logic, use Interactive Panels.

Permissions

  • custom_commands.view — see existing commands
  • custom_commands.edit — add / edit / delete

Members can run any custom command (no per-command permission gating beyond Discord's own role-based channel access).

Limits

  • Per-guild custom command count: configurable; soft cap around 100.
  • Command name: 3–32 chars, lowercase, alphanumeric + underscore.
  • Response length: matches Discord's message/embed limits (2000 chars plain, 6000 chars across an embed).

Tips

  • Lowercase command names are required by Discord.
  • Use embeds for anything multi-line — embeds get better visual treatment than plain text.
  • Cross-Server Sync custom commands is on the roadmap; until then, you'll need to recreate per-server.

Phantom is a product of Hydra Labs. The bot is run as a managed service; you do not need to host it yourself.