What Are Automations?
Automations let you add your own behaviour to Points, from slash commands that work the way you design them to jobs that run on a schedule.
Points comes with rewards, a shop, a bank and games. Automations cover everything else. You can build a /lottery command, pay a weekly stipend to everyone with a role, tax large balances on the 1st of the month, or reset the leaderboard for a new season.
You build an automation from blocks on the dashboard, or write it in Luau if you prefer code. Both produce the same thing, and you can switch between them at any time.
What an Automation Can Do
An automation starts from a trigger and then runs a list of steps.
There are two kinds of trigger:
- On a schedule runs at set times, like every day at midnight or on the 1st of each month.
- When someone uses a custom command adds a real slash command to your server and runs when a member uses it.
Steps can change balances, pay from or into the server bank, give and take roles and shop items, send messages, and make decisions with conditions, random chances and loops over members. The full list is in Building With Blocks.
Your Library and Your Servers
Automations belong to you, not to a server. You write one once and install it in as many servers as you manage.
| Term | What it is |
|---|---|
| Library | Your automations. Open it from the account menu, under Automations. |
| Install | One automation running in one server, with that server's settings and run history. Manage these in Settings → Automations for the server. |
| Input | A value each server fills in when it installs an automation, like which channel to post in or which role gets paid. |
| Share link | A link that lets someone else copy one of your automations into their own library. |
Because each server fills in its own inputs, the same "Weekly role stipend" can pay @Regulars in one server and @Supporters in another.
Who Can Do What
- Anyone signed in to the dashboard can build automations in their own library.
- Installing an automation in a server requires being an admin of that server.
- Any admin of a server can change an install's inputs, turn it on or off, look at its runs and uninstall it, whoever wrote it.
- Moderators can see a server's installs and their runs.
Build Your First Automation
This walkthrough uses the Daily allowance template, which gives every member some points each day.
- Open the account menu and choose Automations.
- Click New and pick Daily allowance. It opens in the editor.
- Pick your server under Test in, then click Test. The panel on the right shows what would happen: whose balances would change and by how much. Nothing is actually changed.
- Click Save.
- Go to your server's Settings → Automations and click Install from your library. Choose Daily allowance, set how many points each member gets, and save.
From then on, every member gets their allowance at midnight. Each run appears under Runs for that install.
Templates
Templates are complete automations you can install as they are or use as a starting point.
| Template | What it does |
|---|---|
| Monthly wealth tax | Takes 5% from members with 1,000 points or more into the bank on the 1st of each month |
| Weekly role stipend | Pays every member with a chosen role from the bank each Monday |
| Daily allowance | Gives every member a set number of points each day |
| Monthly season reset | Sets every balance back to 0 on the 1st of each month |
| /bonus | Lets moderators pay a member from the bank |
| /lottery | Members pay 10 points for a 5% chance to win 150 from the bank |
Free and Premium
Every server can use automations. Premium raises the limits.
| Free | Premium | |
|---|---|---|
| Automations installed per server | 3 | 25 |
| Custom commands per server | 3 | 25 |
| Most frequent schedule | Once a day | Once an hour |
| Automations in your library | 10 | 100 |
Server limits follow the server's Premium. Your library limit follows your own. See Limits for everything else, and what happens if a server loses Premium.
What Are Logs?
Logs allow you to monitor all point-related activities in your server. Every time someone earns, spends, or receives points, the bot can automatically post a message to a Discord channel of your choice.
Building With Blocks
Build automations by stacking steps under a trigger. Every block, how to pick members and amounts, conditions, and placeholders for messages.