Custom Commands
Add real slash commands to your server that run your own steps. Names, options, permissions, cooldowns, replies and how commands reach Discord.
A custom command is a real slash command. It shows up in Discord's command list next to Points' own commands, with your description and options, and members use it like any other command.
Creating a Command
Add the When someone uses a custom command trigger and fill in:
| Field | Rules |
|---|---|
| Name | 1 to 32 characters: lowercase letters, numbers, - and _ |
| Description | Shown in Discord's command list. 1 to 100 characters. |
| Who can use it | Everyone, moderators or admins |
| Cooldown | How often each member can use it |
| Options | Up to 25 things the member fills in when using the command |
The steps you put under the trigger run each time someone uses the command.
A command can't use the name of a Points command, like daily, shop, pay or leaderboard, and two installs in the same server can't use the same name.
Options
Options are what a member fills in after the command name, like the member and amount in /bonus @alex 500.
| Option type | The member picks |
|---|---|
| Member | A member of the server |
| Whole number | A number without decimals, optionally between a minimum and maximum |
| Number | Any number, optionally between a minimum and maximum |
| Text | Some text, optionally with a maximum length |
| Choice | One of up to 25 choices you write |
| Role | A role |
| Channel | A channel |
Each option has a name (same rules as command names), a description of up to 100 characters, and can be required or optional. Steps use options for amounts and members, and message text can include them as placeholders, like {amount}.
Who Can Use It
| Setting | Who |
|---|---|
| Everyone | Any member |
| Moderators | Members with Administrator or one of the server's moderator roles |
| Admins | Members with Administrator |
Anyone else who tries the command gets a private message saying they don't have permission. Moderator roles are set in your server's Settings.
Cooldowns
A cooldown limits how often each member can use the command: any time, every 10 seconds, minute, 5 minutes, hour or day. In Luau you can set any value up to a day. Members who use it too soon are told when they can use it again.
Replies
Use the Reply step to answer the member. Turn on Only they can see it to make a reply private, which is useful for errors and "no luck this time" messages.
If a command runs without replying, Points answers privately with "Ran /name." so the member knows it worked. If the command fails, the member sees a private message with the reason, and nothing the run changed is kept.
Points waits up to 2 seconds for a command to finish before showing Discord's "thinking" state, so slow commands don't time out.
How Commands Reach Discord
Points registers your commands with Discord when you install an automation, change its inputs, update it, or turn it on or off. It usually takes a few seconds. You can see each command's status at the bottom of Settings → Automations:
| Status | Means |
|---|---|
| In Discord | Registered and ready to use |
| Updating | Waiting to be sent to Discord |
| Removing | Being taken out of Discord |
| Not registered | Discord rejected it. The reason is shown next to it. |
Click Sync now to try again straight away. Discord limits how many new commands a server can register each day, and Points keeps some of that for its own commands, so creating a lot of new commands in one day can leave some waiting until the next.
An install that is turned off, paused or missing a required input doesn't register its commands. If a member uses a command that was just removed, they're told it no longer exists, and Discord stops showing it shortly after.
Busy Servers
Each server can run 60 custom commands a minute, or 300 with Premium. Past that, members are asked to try again in a minute.
Building With Blocks
Build automations by stacking steps under a trigger. Every block, how to pick members and amounts, conditions, and placeholders for messages.
Schedules
Run steps automatically at set times. Presets, custom cron schedules, timezones, how often schedules can run, and what happens when a run is missed or fails.