Skip to main content
The default prefix is !. Mentioning the bot always works as a prefix too, no matter what else is configured — @mira ping will run even if you’ve forgotten what you changed the prefix to.

Server prefixes

prefix · aliases prefixes · requires Manage Server to change
A server can have multiple prefixes at once. When several are configured, the longest matching one wins — so if you have both . and .. set, typing ..ping runs ping, not .ping with a leading dot.
Prefixes are matched exactly, including spaces. !prefix set "mira " gives you mira ping. Quotes are needed for anything with a space in it.

Your own personal prefix

This is the one people miss. A personal prefix follows you into every server mira is in, regardless of what that server’s prefix is set to.
selfprefix works as a shortcut for the same thing. Your personal prefix is added to the server’s prefixes rather than replacing them, so other people in the server are unaffected — they keep using whatever the server has configured, and you use yours.
Pick something unlikely to collide with other bots. A personal prefix of . in a server where another bot also uses . means both bots will try to respond to .ban.

Running commands without a prefix

A subset of commands are also registered as slash commands — mostly the ones people use constantly, like /nowplaying and /timezone. Type / and the picker will show what’s available. Slash commands ignore prefixes entirely.
@mira help always works. Useful when you’ve joined a server and don’t know its prefix, or when you’ve locked yourself out by setting a prefix you can’t type on mobile.
A shortcut is a server-specific alias that maps a word to a full command, including its arguments:
Now !mod @someone assigns the Moderator role. Requires Manage Server.

Restricting where commands work

If you want commands confined to a bot channel:
In a command-only channel, anything that isn’t a command gets deleted. By default mira recognises the common prefixes other bots use and leaves those messages alone; commandonly prefix add lets you allow an unusual one, and commandonly prefix clear goes back to allowing all of them. The inverse — blocking commands in a channel rather than requiring them — is covered in Command access.

Command reference