/balance command is nice. A /work, /balance, /shop and /give that all share the same coins is an economy system.
The pages in this part are recipes. Follow them step by step and you end up with a whole working system. Then change the words, numbers and colours to make it yours.
The recipe for ANY system
Every system, big or small, is built from the same five questions. Answer them on paper first, then build.1
What does my bot need to remember?
These become your variables. Coins? XP? A log channel? Make them first on the Database page. See Variables.
2
What starts it?
- A person typing something: a slash command.
- A person right-clicking a member or message: a context command.
- Something happening in the server, like someone joining: an event.
- A clock: a timed event.
- A button or menu someone presses: the button’s own blocks.
3
What should it check?
These become Checks. “Do they have enough coins?” is Compare. “Are they staff?” is a permissions or role check. “Lucky or not?” is Random chance.
4
What should it do?
These become Steps: send a message, give a role, change a variable, make a channel.
5
Does it work?
Test it in your server. If something is wrong, use Replays to watch it run block by block, and Error Logs to see what broke.
How to find a block fast
All the recipes tell you which block to use. The quickest way to find one is the search box at the top of the block list. Type a word from what the block does, likerole, channel, button or maths, and it shows up.
The recipes
For WhatsApp, start with Your first flow and the ready-made flows on the Flows page.
Tip: Add Note blocks to your board as you build, like “this part takes the coins”. When you come back in a month, you will thank yourself.
In this section
Economy
Coins, /balance, /work, /give, a role shop and an admin command.
Levels and XP
XP for chatting, level-ups and a /rank card.
Welcome and goodbye
Welcome new members with a message, a picture card and a role.
Verification
A Verify button with a secret word, roles and a log.
Tickets
An Open a ticket button that makes a private channel, with a Close button.
Button roles
Buttons people press to get or remove a role.
Warnings and moderation
A staff-only /warn that counts warnings and times people out at 3.
Scheduled messages
Make your bot post by itself, every day or every few minutes.
