BotManualTHE COMMUNITY PLAYBOOK
English

Open a marketplace with predictable settlement

An admin workshop for Market: a worked setup, settings explained, day-to-day operation and a complete verification checklist.

16 min read

WHAT YOU WILL BUILD

A listed inventory item, a completed purchase and a checked seller payout.

Follow the steps, try the example and use the checklist before opening it to your community.

On this page

Your mission

A listed inventory item, a completed purchase and a checked seller payout. This workshop uses a small first rollout so you can see the complete result before opening it to the whole community. The example is a starting recipe; keep your server's own rules and audience in mind when choosing the final values.

Step 1: Prepare your server

Open your server dashboard and select the correct server, then open Market. Enable the feature before running the example. Enable Bank and Shop and give a test member a tradable item. Choose the listing types and a small price range for the trial.

Read Roles and permissions if a destination or role cannot be selected. For channel-based actions, check permissions in the actual channel, including its category overrides. For automatic role changes, the bot needs Manage Roles and a position above the role it will assign. Only grant the permissions needed by your chosen workflow.

Step 2: Build your first working example

1. Set market rules

Choose tax, permitted durations, listing limits and any item restrictions. For auctions, decide how the anti-sniping window, extension length and maximum extensions interact.

2. Complete a sale

List one item, inspect it from another member’s account and buy or bid. Check that the item is reserved as expected and that the final payout includes the tax.

3. Try buy orders separately

If enabled, create a small order and inspect its escrow, partial fulfillment and expiry refund. A listing, an auction bid and a buy order reserve different things.

After changing the server-wide settings, use Save changes. An item editor, draft, preview or test action is a separate part of the workflow: read its save or publish action before expecting a public Discord post. Reopen the saved item to confirm the destination, access rules and values you intended.

Step 3: Understand the settings

Initial values below describe a new configuration. Your server may already have different saved values. A field with no initial value is chosen in its editor. Optional sections can stay inactive until the basic setup works. Empty and zero do not have one universal meaning; use the explanation for that specific field.

General

SettingInitial valueWhat it changes and how to use it
Market tax5Rounded down for the seller. Each listing keeps the rate it was created with. 0–50.
Min price1Set min price within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–1000000000000; whole numbers.
Max price0Set max price within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–1000000000000; whole numbers.
Fixed priceOnMembers set a price; the first buyer gets it.
AuctionsOnStart price, bid step and an optional buy-now price. Outbid members are refunded at once.
Durations3600, 21600, 43200, 86400, 172800, 259200, 604800The selected durations entries. Add each selection in the editor and check the resulting list before saving. 1–7 entries.
Default duration86,400Default listing lifetime. The choices range from one hour to seven days; 86,400 seconds is one day. This is separate from the buy-order expiry setting. Options: 3600, 21600, 43200, 86400, 172800, 259200, 604800.
Min increment1Set min increment within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–1000000000; whole numbers.
Max active listings5Set max active listings within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–50; whole numbers.
RulesNo entriesAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. up to 100 entries.
ChannelNot setMarket feed channel (optional).
Embed color#F5C542Appearance of this part of the card or interface. A color change does not change eligibility or permissions.

Anti snipe

SettingInitial valueWhat it changes and how to use it
Anti snipe → Extend auctions on late bidsOnA bid inside the final configured window extends the auction using the configured extension duration, up to the maximum extensions.
Anti snipe · window minutes5Final portion of an auction in which an eligible bid triggers anti-sniping. With 5, a bid during the last five minutes can extend the close. 1–60; whole numbers.
Anti snipe · extend minutes5Time added by an anti-sniping extension. Keep it distinct from the triggering window and check the maximum number of extensions to understand the latest possible finish. 1–60; whole numbers.
Anti snipe · max extensions12Set anti snipe · max extensions within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–100; whole numbers.

Buy orders

SettingInitial valueWhat it changes and how to use it
Buy orders · enabledOnSwitch buy orders · enabled on or off. This controls this option only; related options keep their own settings.
Buy orders · max open5Open orders per member. 1–50; whole numbers.
Buy orders · expiry days7Then the rest of the escrow is refunded. 1–30; whole numbers.
Buy orders · DMOnDM the buyer when an order is filled (fully or partly) / expires / is removed.

Rules

SettingInitial valueWhat it changes and how to use it
Rules entries · itemChoose in editorSet rules entries · item within the accepted range. Keep the initial value for the first trial, then change it after checking the result. At least 1; whole numbers.
Rules entries · blockedOffSwitch rules entries · blocked on or off. This controls this option only; related options keep their own settings.
Rules entries · min priceNot setSet rules entries · min price within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–1000000000000; whole numbers.
Rules entries · max priceNot setSet rules entries · max price within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–1000000000000; whole numbers.

Feed

SettingInitial valueWhat it changes and how to use it
Feed → Post new listingsOnA card with a View button; it shows the final result when the listing ends.
Feed → Post salesOnA short line when an item sells. Members are never pinged.

DM

SettingInitial valueWhat it changes and how to use it
DM · outbidOnSwitch dm · outbid on or off. This controls this option only; related options keep their own settings.
DM · soldOnSwitch dm · sold on or off. This controls this option only; related options keep their own settings.
DM · wonOnSwitch dm · won on or off. This controls this option only; related options keep their own settings.
DM · expiredOnSwitch dm · expired on or off. This controls this option only; related options keep their own settings.
DM · removedOnSwitch dm · removed on or off. This controls this option only; related options keep their own settings.

Step 4: Configure the items inside this feature

Server-wide settings and individual entries serve different purposes. These tables describe the selected entry editors. Set up one complete entry first, save it, and confirm it works before adding the rest. Fields for an alternative type apply only when that type is selected.

Rule

SettingInitial valueWhat it changes and how to use it
ItemChoose in editorSet item within the accepted range. Keep the initial value for the first trial, then change it after checking the result. At least 1; whole numbers.
BlockedOffSwitch blocked on or off. This controls this option only; related options keep their own settings.
Min priceNot setSet min price within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–1000000000000; whole numbers.
Max priceNot setSet max price within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–1000000000000; whole numbers.

Test the whole journey

  1. Complete a trial sale and verify item ownership, buyer debit and seller net payout.
  1. Inspect the market record and any feed or DM notifications for the same transaction.
  1. Repeat the relevant member action with an ordinary member account and the staff action with your intended staff role. An administrator test alone can hide permission restrictions. Check both the response in Discord and the saved record or result in the dashboard.
  1. Change one setting that affects the result, save it, and repeat the same test. Record the previous value so you can restore it if the new behavior is not what you wanted.

Follow the complete workflow

1. Turn on the Bank and the Shop

Market uses the Bank currency and items from the Shop. Open your server dashboard, enable both, then switch on Market in the Engagement section.

2. Set the rules

Pick the tax, the price range, which listing types and durations members can use, the anti-sniping window and an optional market channel.

3. Members list and bid

A member runs /market sell, picks an item from their inventory and a price. Others find it with /market browse and bid or buy with a button.

4. The bot settles every deal

When an auction ends the item moves to the winner and the seller is paid minus tax, exactly once, with DMs and a post in the market channel.

Operation and behavior in detail

A Discord auction house on top of your Shop and Bank

Market is the trading layer of your server economy. Coins are earned with the Bank, Economy games and other features, items are bought in the Shop or won as rewards, and Market lets members trade those items with each other at prices they set.

Every trade happens in one database transaction: the item and the coins move together or not at all, even when two members click at the same moment or the bot restarts. Staff see live listings, sales with a price chart per item, and can step in at any time.

  • /market sell: list an item at a fixed price or as an auction
  • /market browse: browse listings with filters and paging
  • /market bid and /market buy: bid on an auction or buy now
  • /market mine: your listings, leading bids and recent trades
  • /market cancel: take back a listing that has no bids yet

Buy orders: name your price and let sellers come to you

/market buy-order create names a Shop item, how many you want (up to 100) and the price per unit. The coins are held from your balance right away, so every order is backed. Sellers see open orders with /market orders, best price first, and press Sell to fill all of it or just part. The items move to the buyer, and the seller is paid from the held coins minus your usual market tax.

Buyers can cancel at any time with /market buy-order cancel and get back what is still held. Orders expire after 7 days by default (1–30) and each member can have 5 open orders by default (1–50), both set in the dashboard. Items that can’t be traded, roles and colors can’t be ordered. Buyers get a DM when items arrive or an order expires, the dashboard’s Buy orders tab lists every order with its fills, and Flows can react when an order is placed, filled or ends.

  • /market buy-order create, /market buy-order mine, /market buy-order cancel: place, review and cancel your orders
  • /market orders: open orders for an item, with a Sell button

Run a controlled acceptance test

Reconcile a partially filled buy order

Use a tradable plain Shop item and a small test order. Four units at 80 coins reserve 320 from the buyer when the order is placed. Have a seller fill two units. The buyer should receive those two units, the seller should receive payment from the reserved funds minus the market tax and 160 should remain reserved for the other two units. Use the order's fills and each member's inventory and history to verify the sequence.

Cancel the remaining order. The unused 160 returns to the buyer; completed fills are not undone by that cancellation. Distinguish reserved coins from missing coins when answering a balance complaint. Roles, colors and non-tradable items are not interchangeable with eligible plain items in this test.

Check auction state before resolving a complaint

Test a listing with no bids, then a separate listing with a real bid. A seller cannot use the no-bid cancellation path to unwind a listing that has already attracted bids. For anti-sniping, place an eligible bid inside the configured final window and inspect the new closing time and extension count. The window, extension length and maximum extensions are separate controls.

At completion, check the winner's item, the seller's proceeds and the tax. A missing DM is not sufficient evidence that settlement failed. Old cards and competing buyers can produce expected refusals when an item has already moved. Inspect the listing or order's final state before issuing replacement items or coins, so recovery does not duplicate a successful settlement.

Diagnose actual bot responses

Use the response to identify the failing stage before changing settings. The messages below are referenced by this feature’s current handlers. Values in square brackets represent the member, amount, time or other live detail supplied in Discord; they are not text to enter. Different actions can use different guards, so this list is a diagnostic reference, not a claim that every message appears in every workflow.

Response or conditionAdmin investigation and next step
That listing doesn’t exist.Locate the referenced item, channel, member or record in this server. Correct a deleted destination or stale selection instead of creating unrelated replacements.
That listing has already ended.Open the existing record and confirm its current result before creating a replacement. An already-completed response can indicate that the first action succeeded.
That’s your own listing.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
This auction has no buy-now price.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
The price changed to [price]. Open the listing again.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
That duration isn’t allowed on this server.Inspect this member’s eligibility and the server’s policy for this operation. Establish which condition failed before changing roles or making an exception.
Not enough funds: your balance is [balance].Inspect the selected wallet or available item units, including fees and resources held by other live operations. Recalculate the full cost before retrying.
That would put a balance over the maximum.Compare the submitted value or current usage with the specific limit named in the response. A member limit, item limit and server-wide limit are separate conditions.
The market needs the Bank feature, which is turned off on this server.Check the feature, subsection and required dependency in the saved server setup. Decide whether availability is intentional before changing it, then repeat one controlled example.
That amount is not valid. Use a whole number like 500, 1,500 or 1.5k.Compare the submitted fields with the current editor or command options, including required values, supported choices and ranges. Change the rejected input and review the new preview.
Pick a listing from the list.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
Pick an item from the list.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
Buy orders are off in this server.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
That buy order doesn’t exist.Locate the referenced item, channel, member or record in this server. Correct a deleted destination or stale selection instead of creating unrelated replacements.
That buy order is no longer open.Inspect the current state and use a current record or interaction. Decide whether a new operation is intended before recreating something that may already have settled.
You can’t sell to your own buy order.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
You don’t have a tradable unit of this item (units on the market or held elsewhere don’t count).Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
The order changed — it now pays [price].Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.
Pick one of your buy orders from the list.Match this response to the affected action and its current record. Compare the selected target, saved configuration and expected result; confirm what completed before retrying a state-changing action.

After a correction, repeat the original action with the affected member permissions and inspect its final state. For a reward, payment, role change or public post, verify what already completed before applying a manual replacement. Keep the record identifier and response in your staff notes so a second admin can follow the same incident.

When something looks wrong

SymptomWhat to inspectHow to recover
An auction has not ended at the original timeRecent bids and anti-sniping extensions.Read the updated end time before attempting cancellation or manual settlement.
The saved setup produces no visible resultWhether the feature is enabled, the required action has actually happened, and the selected destination still exists.Follow the worked example once, then inspect the response before retrying. A saved configuration alone does not perform every action.
Staff can use it, but an ordinary member cannotMember eligibility, selected roles, channel overrides and Discord command permissions.Test with the affected role combination. Correct the specific restriction and test again.
A role, reward or message is missingThe related feature, destination permissions and the result of the original action.Confirm what already completed before repeating an action that spends currency, sends a message or grants a reward.

Feature-specific questions

What can members sell on the market?

Plain items they own in their Shop inventory. Roles, color roles and items that staff deliver by hand stay with the member who bought them. You can also block single items or set a price floor and ceiling for them.

How does escrow work?

When an item is listed it leaves the seller’s inventory until the listing ends. A bid takes the coins from the bidder right away and returns them the moment someone bids more, so a winner always has the money and a seller always has the item.

What happens when an auction ends?

The item goes to the highest bidder and the seller receives the price minus the market tax. If nobody bid, the item returns to the seller. Members get a DM and the market channel shows the result.

Where does the market tax go?

It is burned: the coins leave the economy. That makes the tax a useful sink against inflation in servers with lots of daily rewards.

Can staff undo a listing?

Yes. Staff can remove any live listing from the dashboard; the high bid is refunded and the item goes back to the seller. Members can also be banned from the market, with their listings removed.

Launch checklist

  • Complete a trial sale and verify item ownership, buyer debit and seller net payout.
  • Inspect the market record and any feed or DM notifications for the same transaction.
  • The saved setup and the actual Discord result match the example you chose.
  • A regular member and the intended staff role can complete their respective steps.
  • Optional rewards, notifications and public destinations are intentional.
  • Another admin knows which settings to change, how to inspect a result and how to stop or correct the workflow.

Share Market basics with someone who needs an overview. Use the command reference below for exact command names and required options.

Commands for this feature

CommandWhat it doesOptions
/market sellList an item from your inventory for sale or auctionitem requiredThe item from your inventoryText · Choose from the matching suggestionstype requiredFixed price or auctionText · Choices: Fixed price · Auctionprice requiredPrice (fixed) or start price (auction), e.g. 500 or 1.5kText · Up to 20 charactersduration optionalHow long the listing runsWhole number · Choices: 1 hour · 6 hours · 12 hours · 1 day · 2 days · 3 days · 7 daysincrement optionalAuction: smallest raise per bidText · Up to 20 charactersbuy_now optionalAuction: optional buy-now priceText · Up to 20 characters
/market browseBrowse the items for saleitem optionalOnly this itemText · Choose from the matching suggestionstype optionalFixed price, auctions or bothText · Choices: All listings · Fixed price · Auctionsort optionalSort orderText · Choices: Ending soon · Newest · Price: low to high · Price: high to low
/market bidBid on an auctionlisting requiredThe listingText · Choose from the matching suggestionsamount requiredYour bid, e.g. 500 or 1.5kText · Up to 20 characters
/market buyBuy a listing at its buy-now pricelisting requiredThe listingText · Choose from the matching suggestions
/market mineYour listings, bids and recent tradesNo options
/market cancelCancel one of your listings (only without bids)listing requiredYour listingText · Choose from the matching suggestions
/market ordersBuy orders: see what members want to buy and sell to themitem optionalOnly the orders for this itemText · Choose from the matching suggestions
/market buy-order createPlace a buy order — your coins are held until sellers fill ititem requiredThe Shop item you wantText · Choose from the matching suggestionsqty requiredHow many unitsWhole number · Minimum: 1 · Maximum: 100price requiredPrice per unit, e.g. 100 or 1.5kText · Up to 20 characters
/market buy-order cancelCancel your buy order (the coins still held come back)order requiredYour buy orderText · Choose from the matching suggestions
/market buy-order mineYour buy ordersNo options

Find an answer

Search features, commands and the full text of every guide.

Start typing to find a guide.

Browse all guides