Skip to main content
Righteous

Prefix versus slash commands, how to change your server's prefix, and the no-prefix and alias shortcuts.

A prefix command is a normal message (,help). A slash command is picked from the / menu. Every gate (permissions, cooldowns, restrictions, disables, premium) is checked the same on both. Most commands are prefix-only, because Discord caps an app at 100 top-level slash commands. Each command's reference page lists its surfaces.

Prefer the slash form in anything you pin or tell staff. /help is true in every server, and ,help only where the prefix is the default ,.

Change the prefix

Syntax

,prefix set <prefix>

Example

,prefix set ,

A server answers to several prefixes at once. Out of the box that is , and the words jason and righteous, and mentioning the bot works too: @Righteous help is ,help, and @Righteous on its own replies with the server's prefix. set replaces only the primary one, so the words keep working whatever you choose. That makes them the way back in if nobody remembers the symbol: righteous prefix list answers. Matching ignores case and needs no space (righteoushelp works).

CommandDoesNeeds
Replaces the primary prefix
Manage Server
Shows every prefix
Manage Server
Restores the shipped defaults
Manage Server
Adds or drops an extra prefix
Bot developer only

Slash commands ignore the prefix, so /help still works after any change.

Run now-playing with no prefix

Any premium (Boosting included). Type <yourname>fm and Righteous runs ,np.

Syntax

<yourname>fm

Example

jasonfm

The name is your Discord handle, display name or server nickname, lowercased with everything but letters, digits and _ removed. It fires only as the exact first word, is skipped under two characters, and is skipped if it matches a real command.

,lf cc (Self Premium) adds a word of your own on top. It doesn't replace the name trigger.

Syntax

,lf cc <trigger | reset>

Example

,lf cc meow

Give a command your own name

,alias makes a second name for a command, with arguments baked in. Server Premium and Manage Server.

Syntax

,alias add <name> <command> [arguments...]

Example

,alias add yeet timeout {0} 1d

{0}, {1} are what the caller types, so ,yeet @someone runs ,timeout @someone 1d. An alias is refused by exactly what refuses the real command: same permissions, cooldown and disables. A real command wins a name clash, and ,alias list marks the shadowed ones. If Server Premium lapses, aliases stop firing but are kept.

Disable a command on both surfaces

,command disable is keyed on the prefix name. The channel comes first; all means every channel.

Syntax

,command disable <#channel|all> <command> [subcommand]

Example

,command disable all giveaway reroll

Two gaps: ,reroll lives on slash as /giveaway reroll, so disabling ,reroll leaves the slash leaf running. And /lastfm top, /channelmute, /messages and /serverimage use different sub names on slash, so a subcommand-level disable or restrict doesn't reach them. Disable the parent instead.

Common issues

,help is ignored but /help works. Your server isn't on ,. Mention @Righteous to see its prefix, or try jason help, then run jason prefix set ,.

Nothing answers on either surface. Not a prefix problem. Check the bot's View Channel and Send Messages, and your server's access.

,prefix list says "Missing permissions". It needs Manage Server.

Every command shows twice in the slash picker. Discord shows the global and the server-scoped copy while a deploy propagates (about an hour). Either entry works, and it clears itself.

<yourname>fm does nothing. You need a premium tier (boosting the support server is free and enough), and a name with some letters or digits in it.

An alias stopped working. Server Premium lapsed. Renew and it resumes.