Using commands
How to run a command, slash or prefix, how to find the one you need, and how to change the prefix.
Overview#
Iris is built on slash commands, and every one of them also answers to your server prefix. /ban @user spam and .ban @user spam run the same code and produce the same reply, so nothing in these docs is slash-only unless it says so.
The prefix is . on a new server. You can change it, or turn on mentioning Iris as a prefix, in bot settings.
/ban @user spam
.ban @user spam
@Iris ban @user spamFinding the command you need#
- Type
/in Discord and pick Iris in the list to browse its slash commands, each with a short description. - Run
/help(or.help) for a menu of every command your server has, by category, with the permission each one needs. - The commands page lists every command on the website, with search.
- Each feature's docs page ends with its commands, for example moderation.
The economy uses !#
Economy commands are the one exception. They are prefix only and always start with !, in every server, whatever your server prefix is. Everything about them is in the economy wiki.
!bal
!daily
!pay @user 1.5k
!workWhich one to use#
Writing arguments on the prefix path#
- Members, channels and roles are accepted as a mention, an id, or an exact name.
- The final text argument is greedy: it takes the rest of the message, so a ban reason or an announcement never needs quotes.
- Yes and no arguments accept
true,yes,onandenable, or their opposites. - Subcommands follow the group, exactly as they read in the docs:
.giveaway create.
.warn @user posting in the wrong channel again
.slowmode set 10
.purge all 50Where the two differ#
A handful of commands open a Discord modal, which only an interaction can do. Running one from the prefix returns a short note asking you to use the slash form instead of failing.
The reverse also happens. Module configuration that the dashboard replaced was retired from the slash picker, but kept on the prefix as a fallback for when the dashboard is not to hand. Those are the .x help entries on the commands page: .welcome, .starboard, .logging, .antilink, .custom, .invite-manage and the rest. VoiceMaster is prefix only for the same reason, under .vcmaster.
.welcome help
.starboard config
.logging helpChanging the prefix#
-
Open the dashboard and pick your server.
-
Go to Server > Bot Settings.
-
Set Prefix to what you want, up to 5 characters and no spaces.
-
Leave Mention as Prefix on so
@Iris ban ...keeps working. It is on by default. -
Save. The new prefix applies immediately, in this server only.
Common questions#
My slash commands are missing.
Discord syncs them on its own schedule, and a fresh invite can take a few minutes. Use the prefix in the meantime, and check Iris has Use Application Commands in the channel.
Does the prefix change for every server?
No. The prefix and the language are per server, so one server can run . while another runs !.
Is there a rate limit?
Yes, and it is the same on both paths. Running the same command repeatedly gets a short cooldown reply rather than being ignored.
Can I turn the prefix off entirely?
Not as a setting. Turning individual commands off for the whole server, on both paths at once, is what command management is for.