
Custom Commands
Make slash commands only your server has, like /rules or /apply. Each one runs the steps you give it, such as replying with a saved message or giving a role, and shows up in Discord’s command list next to Meko’s own.
Custom Commands
/settings module:Custom Commands
- Save the messages the command sends in Messages first, since every step that sends something sends a saved message.
- Click Add Command.
- Type its Name, what members type after the slash: up to 32 letters, numbers, dashes or underscores, with no spaces. Meko makes it lowercase. It can’t be the name of one of Meko’s own commands.
- Type a Description if you like, the line Discord shows under its name. Left empty, it reads Custom Command.
- On the command’s page, click Add Step and pick what it does. Add more the same way, up to 10. They run in order.
- Click Test to run it on yourself.
A command with no steps tells members it isn’t set up yet. A server can have 50 commands.
Steps
/settings module:Custom Commands › your command › Add Step
| Step | What it does |
|---|---|
| Reply | Replies with a saved message, only to the member when Private Reply is on. |
| Send To A Channel | Sends a saved message in a channel. |
| DM The Member | Sends the member a saved message in their DMs. |
| Give Roles | Gives the member roles. |
| Remove Roles | Takes roles away from the member. |
| Toggle Roles | Gives the roles they don’t have and removes the ones they have. |
| Set Roles | Gives these roles and removes every other role Meko can give. |
Open a step from the command’s page to change it, move it up or down, or remove it.
Warning: Role steps only work for roles below Meko’s highest role, and never for roles with moderation permissions or roles Discord or an app manages, like Server Booster. Whoever adds the step needs Manage Roles and the role below their own, unless they own the server. If Meko can’t give a role, drag Meko’s role above it in Server Settings › Roles.
Command settings
/settings module:Custom Commands › your command
| Setting | What it does |
|---|---|
| Private Reply | On, only the member who used the command sees its replies. Off, everyone in the channel sees them. |
| Cooldown | How long each member waits between uses, from a second to a day. |
| Delete Reply After | Deletes public replies after a second to a day. Private replies stay until the member dismisses them. |
| Test | Runs the command on you, without its cooldown. |
| Delete | Deletes the command, and it disappears from the server’s command list. |
Who can use them
Custom Commands has no commands of its own: the commands are the ones you make, and everyone can use them until you limit them.
Note: Who can use each command, and in which channels, is set in Discord, not in Meko. Go to Server Settings › Integrations › Meko and pick the command.