Miyu has two kinds of commands: text commands that start with a prefix, and slash commands that you pick from Discord's / menu. Most features use text commands. Reminders, pronouns, Twitch promotion and a few others use slash commands.
A text command starts with m!, a mention of Miyu or your server's custom prefix, followed by the command:
m!ping
@Miyu ping
Bot Prefix explains how to set your own prefix. The Help Command lists all commands.
Every page shows commands like this:
m!level [@member]
m!xp give <@member> <amount>
<something> means you have to fill this in.[something] means it's optional.Where a command wants a member, role or channel, you can mention it (@Lara, @Moderators, #general) or paste its ID. To copy IDs, turn on Developer Mode in Discord under Settings → Advanced. Then right-click a user, role, channel or message and choose Copy ID.
Some commands take a piece of text in the middle, like a welcome message or a nickname. If that text has spaces in it, put it in double quotes:
m!nickname @Lara "Lara the Great"
m!verification text role "Welcome {user}, have fun!"
Reasons at the end of a command (for example after m!warn @member) don't need quotes.
Commands like m!timeout, m!tempban and m!joinroles delay take a duration. Write a number with a unit:
| Unit | Meaning | Example |
|---|---|---|
s |
seconds | 45s |
m |
minutes | 10m |
h |
hours | 2h |
d |
days | 3d |
w |
weeks | 1w |
You can combine them, like 1h30m. A number without a unit counts as minutes.
Type / in the message box and choose Miyu in the list on the left to see its slash commands. Discord shows you each option as you go, so you don't need to remember any syntax.
Some Miyu features are in the right-click menu instead. Right-click a user or a message and look under Apps. That's where you find Reports, for example.
m!modules enable <module>. See Modules.m!help m!<command>.To protect itself and your server, Miyu only accepts one command from you every 3 seconds. If you go faster, you get a short "please wait" message. If you keep going and get warned 5 times in a row, Miyu ignores your commands for 5 minutes.