How to set up a Discord economy bot
A Discord economy bot gives your community a virtual currency and a few concrete ways to earn and spend it. The Economy module in Build Discord Bots combines daily rewards, work payouts, member transfers, wallet and bank balances, and a server shop. It is a Pro module. This guide builds a small test economy around a collectible shop item, then checks the balances and purchase result before you invite the whole server to participate.
Start freeStart free. Pro is $9.99/month.
Before you start
- Create your bot, invite it to a server you control, and keep it online with Pro. Economy requires Pro; its virtual coins do not pay for your subscription.
- Use a quiet text channel where the bot can read commands and send replies with embeds. Prepare a staff account with Manage Server for configuration and shop management, plus an ordinary member account for the earning and purchase test.
Enable Economy and define the currency
On the dashboard, open your bot’s Modules and enable Economy. Open its Settings and select the server you want to configure. Decide what the virtual currency represents in your community before setting rewards: a playful participation score is easier to explain than a balance with vague promises attached. Keep this walkthrough entirely within the bot’s virtual economy. There is no cash withdrawal step here. Choose a short, recognizable currency name so members can read a balance without wondering whether the number means real money, experience points, or a separate website credit.
Staff can inspect the configuration in Discord with !econconfig and change the name with !econconfig currencyname coins. The symbol can be changed through !econconfig currencysymbol followed by your chosen symbol. All examples assume the default ! prefix; replace it if your bot uses another prefix. These settings apply to the current server. Confirm the name in a reply before creating public instructions, particularly when the same bot serves multiple communities. Choose one staff owner for reward changes so the daily payout and shop prices remain understandable together.
Set predictable earning rules
For the example, set the daily reward with !econconfig daily 100. The daily configuration command accepts whole amounts from 1 through 10000. That range belongs to this module setting and is unrelated to subscription credits. Set a work range with !econconfig workmin 50 and !econconfig workmax 200, then use !econconfig workcooldown 1h for an hour between successful work claims. Keep the maximum at least as large as the minimum. These sample amounts also match the module’s normal defaults, making it easier to compare your test replies with an untouched setup.
Economy also has optional competitive behavior, including robbery and chance-based games. For a calm first walkthrough, turn robbery off with !econconfig rob off and focus your instructions on earning, banking, and the shop. That command disables robbery only; it is not a switch for every game or a promise that members cannot spend coins elsewhere. Explain the activities your community intends to use before promoting the economy. Avoid advertising a guaranteed daily profit from random outcomes. The goal of this test is to understand a few predictable balance changes, not to exercise every available command.
Claim rewards and verify the cooldowns
From the member account, check !balance, then claim !daily and check the balance again. The daily command adds the configured reward to the wallet when the account is eligible. It uses a rolling one-day cooldown from the last successful claim, rather than resetting at a particular local midnight. Try it again immediately and confirm that the bot reports a cooldown without adding another reward. This is a useful acceptance check before launch: members should understand why a second request is refused instead of interpreting the message as a broken bot.
Next, try !work and inspect the reply and wallet. A successful attempt awards a random whole amount within your configured work range and starts the work cooldown. Repeating the request too soon should not award another payout. The work response is flavor text for the virtual reward; it does not create an actual job or require a separate task submission. If a cooldown is surprising, inspect the server’s configuration and the previous successful claim before changing settings. Record the balance after each successful action so later transfers and purchases can be checked against a known starting point.
Move coins between wallet, bank, and members
The balance reply separates the wallet from the bank and also shows their combined total. Use !deposit with a positive whole amount to move coins from the wallet into the bank, then !withdraw with an amount to move them back. Both commands also accept all; !deposit all is convenient for moving a small test wallet. Compare both fields after each operation. Banking changes where existing coins are held; it does not create a new reward. Keep enough in the wallet for the shop because a bank balance alone does not cover a purchase.
To test a member transfer, use !pay followed by a real member mention and a positive whole amount that the sender can afford. The transfer uses the sender’s wallet. The module rejects a missing recipient, a transfer to yourself, a bot recipient, an invalid amount, or insufficient wallet funds. Have the recipient inspect their balance too, rather than relying only on the sender’s confirmation. Keep test transfers small and label them in your staff notes, so nobody confuses a setup exercise with a reward they earned under the published community rules.
Correct one member’s wallet without changing the bank
If staff need to correct one member’s virtual wallet, use !addmoney @Member 250 from an account with Manage Server. The command accepts a member mention and a positive whole amount, adds that amount to the member’s wallet, and leaves the bank balance unchanged. It is a staff correction for this server’s virtual economy, not a subscription-credit adjustment or a cash transaction.
The bot replies with a success message after the wallet update. Check !balance for the member and compare the Wallet and Bank fields before and after the correction. If you need to subtract an accidental wallet amount instead, !removemoney @Member 250 also changes only the wallet and clamps it at zero; it does not withdraw from the bank.
Create a simple shop item and buy it
From the staff account, enter !shopadd 50 Trail Badge | A souvenir for our test shop. The price comes first, then the item name, followed by a vertical bar and its description. This example has no attached role, so it tests the purchase flow without requiring role assignment. Open !shop from the member account and confirm that Trail Badge appears at the expected price. The shop is scoped to this server and rejects duplicate item names without regard to letter case. Choose distinct names that members can type accurately from the listing.
Make sure the member has at least the item price in their wallet, then enter !buy Trail Badge. Check !inventory for the item and !balance for the reduced wallet. A successful purchase records ownership and deducts the price; the collectible itself does not automatically perform another action. An item without a role may be purchased more than once, and inventory groups repeated purchases by name. If the purchase fails for insufficient funds while the combined total seems large enough, check the bank field and withdraw the needed coins before trying again.
Sell a role for server currency and test it
Economy is a Pro module. First create a harmless test role, such as Test VIP, with no administrative powers. In Discord’s role list, place the bot’s highest role above Test VIP and give the bot Manage Roles. Then, from an account with Manage Server, create the listing with !shopadd 100 Test VIP | A harmless role-shop test | role:@Test VIP. The price comes first; the item name and description are separated with vertical bars, and the final role:@Test VIP field is a real Discord role mention. !shopadd is the staff-only shop command; it requires Manage Server.
On an ordinary test account, put at least 100 coins in the wallet (not only the bank), run !shop to confirm the listing, then run !buy Test VIP. The equivalent slash command is /buy with its required item option set to Test VIP. Check the test member’s Discord role list after the purchase, as well as !balance and !inventory. The role must appear on the member; the purchase confirmation alone is not proof that Discord granted it.
This check matters because the current purchase flow deducts wallet coins and records the role item before it attempts to add the role. If the bot is below the shop role, lacks Manage Roles, or Discord rejects the assignment for another reason, the wallet can still be debited and the purchase still counts. Avoid that outcome by checking role hierarchy and Manage Roles first. If the test role is missing, fix the Discord permissions before offering it; use a fresh test member or a new item name for a retry because a recorded role-item purchase cannot be bought again by the same member. Use !shopremove Test VIP to remove the test listing when you finish; that removes the listing, not prior inventory.
Frequently asked questions
Can I keep the Economy module on Free?
Economy is a Pro module, so using it requires Pro.
Does the daily reward reset at midnight?
No. The daily command checks whether one day has elapsed since the last successful claim. Work uses its separately configured cooldown.
Why can I not buy an item when my total balance is high?
Purchases spend wallet coins, not bank coins. Check both fields in the balance reply and withdraw enough from the bank if needed.
How do I correct one member’s wallet without changing their bank?
Use !addmoney @Member amount from an account with Manage Server. It adds a positive whole amount to the member’s wallet only, sends a success reply, and leaves bank_balance unchanged. Economy is a Pro module.
Does buying a role item guarantee the role appears?
No. The wallet is debited and the purchase is recorded before role assignment is attempted, so a failure does not refund the purchase. Place the bot above the shop role, grant it Manage Roles, and check the test member’s roles rather than relying on the confirmation reply.
