Points
Documentation

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:

FieldRules
Name1 to 32 characters: lowercase letters, numbers, - and _
DescriptionShown in Discord's command list. 1 to 100 characters.
Who can use itEveryone, moderators or admins
CooldownHow often each member can use it
OptionsUp 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 typeThe member picks
MemberA member of the server
Whole numberA number without decimals, optionally between a minimum and maximum
NumberAny number, optionally between a minimum and maximum
TextSome text, optionally with a maximum length
ChoiceOne of up to 25 choices you write
RoleA role
ChannelA 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

SettingWho
EveryoneAny member
ModeratorsMembers with Administrator or one of the server's moderator roles
AdminsMembers 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:

StatusMeans
In DiscordRegistered and ready to use
UpdatingWaiting to be sent to Discord
RemovingBeing taken out of Discord
Not registeredDiscord 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.

Need help?