Custom Commands
Build your own commands without writing any code
Build your own slash commands from the dashboard, with no code — pick a name, define its options, and wire up what happens when someone runs it. It shows up in Discord's command list exactly like any built-in Hez command.
Turning it on or off
Every server chooses for itself — switch Custom Commands on or off from your dashboard, under Messages & Automation. When it's off: your custom commands will not respond.
Setting it up
- 1
Pick a name and type
Slash command, or a right-click user/message command.
- 2
Add any options it needs
Only for slash commands — right-click commands don't take options.
- 3
Build the action chain
Even a single "send a message" action is a complete, working command.
- 4
Set a scope and cooldown if it's open to everyone
Prevents one command being spammed the moment it's public.
Three command types
A custom command can be a normal slash command, a right-click user command, or a right-click message command — the same three types Discord itself supports for any bot.
Options and what a command can do
Slash-command options support text, user, channel, role, number and boolean types, with optional fixed choices, min/max bounds on numbers, and — for a small allow-list of sources like roles and channels — live autocomplete as the member types.
What the command actually does is an action chain: reply with a message, grant currency or XP, add or remove a role, and everything else the automation engine supports — the same building blocks Rules (Automations) uses.
Cooldowns and counters
Cooldowns can be scoped per user, per channel, or server-wide. Counters let a custom command track a running number across uses — a simple way to build something like a server-wide tally or a personal use-count without any code.
Commands
Tips & things people get wrong
- New and edited custom commands take a moment to register with Discord — that's a Discord limitation on command publishing, not a Hez delay.
- A required/denied role list uses the same scope mechanism as everywhere else on the dashboard, so it behaves identically to Autoresponder or Rules scoping.