BotManualTHE COMMUNITY PLAYBOOK
English

Plan merchant visits and test limited stock

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

12 min read

WHAT YOU WILL BUILD

A merchant visit in an allowed window with a checked purchase and closing time.

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

On this page

Your mission

A merchant visit in an allowed window with a checked purchase and closing time. 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 Wandering Merchant. Enable the feature before running the example. Enable Shop and Bank and choose channels where a timed sale is welcome. Set the merchant identity and greeting before selecting stock.

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. Build the visit policy

Choose local-day windows, maximum visits, minimum gap, stay duration and offers per visit. A window permits visits; it does not promise a visit at its first minute.

2. Configure stock and buyback

Add valid Shop items with prices, stock and eligibility. If buying items back, set the wanted scope and quantities deliberately. Summon a test visit through the staff workflow and inspect its expiry.

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
NameWandering MerchantText used for name. Check the preview and use only the variables offered by this editor. 1–64 characters.
Emoji🧙Set emoji in the editor. Check it alongside the other fields in this section before saving. Up to 64 characters.
Image urlNot setThe address used by this option. Open it to check the destination before saving; use an image address for image fields. Up to 500 characters.
GreetingEmptyShown in italics at the top of the visit message. Up to 300 characters.
Color#C08A3EAppearance of this part of the card or interface. A color change does not change eligibility or permissions.
ChannelNo entriesThe selected channel entries. Add each selection in the editor and check the resulting list before saving. up to 10 entries.
Ping roleNot setPinged when the merchant arrives.
Windows1 preset entriesAdd and edit entries individually. The fields for each entry are listed below; the list itself is not an on/off switch. 1–7 entries.
Max visits per day2Set max visits per day within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–12; whole numbers.
Min gap minutes120Minimum spacing between merchant visits. This limits visit frequency independently of how long an individual visit stays open. 0–720; whole numbers.
Stay minutes30Length of an individual merchant visit before departure. Choose enough time for members to read offers and complete a purchase. 5–240; whole numbers.
Offers per visit4Set offers per visit within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–10; whole numbers.

Windows

SettingInitial valueWhat it changes and how to use it
Windows entries · daysChoose in editorThe selected windows entries · days entries. Add each selection in the editor and check the resulting list before saving. 1–7 entries.
Windows entries · fromChoose in editorSet windows entries · from within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–23; whole numbers.
Windows entries · toChoose in editorSet windows entries · to within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–24; whole numbers.

Buyback

SettingInitial valueWhat it changes and how to use it
Buyback · enabledOffSwitch buyback · enabled on or off. This controls this option only; related options keep their own settings.
Buyback · scopewantedChoose how buyback · scope behaves from the supported options. Options: wanted, all.
Buyback · wanted per visit3Set buyback · wanted per visit within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–10; whole numbers.
Buyback · rate120Set buyback · rate within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 10–300; whole numbers.
Buyback · per member10Per visit, 0 = no limit. 0–1000; whole numbers.

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.

Stock

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. More than 0; whole numbers.
PriceChoose in editorSet price within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–1000000000; whole numbers.
Stock5Set stock within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 1–10000; whole numbers.
Per member1Set per member within the accepted range. Keep the initial value for the first trial, then change it after checking the result. 0–1000; whole numbers.
Weight10Relative weight within this group. Compare it with the other entries in the same group before changing the distribution. 1–1000; whole numbers.
RareOffSwitch rare on or off. This controls this option only; related options keep their own settings.
EnabledOnSwitch enabled on or off. This controls this option only; related options keep their own settings.

Test the whole journey

  1. Open a trial visit and verify stock, price and purchase delivery.
  1. Check that the offer closes at the displayed time and respects per-visit quantities.
  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 Shop and the Bank

The merchant sells Shop items for Bank coins. Open your server dashboard, enable both, then turn on the Wandering Merchant in the Engagement section.

2. Build the stock pool

Pick plain Shop items and set a price, the stock per visit, a per-member limit and a weight for each. Mark the special ones as rare.

3. Set the channels and windows

Choose the channels it may visit, an optional role to ping, the visit windows, visits per day, how long it stays and how many offers it brings. A live preview shows the message in the bot’s language.

4. Members buy while it is here

The visit message has a button per offer. A member presses one, picks how many and pays from their Bank balance. When time is up, the message changes to a short summary.

Operation and behavior in detail

A limited-time shop that comes to your members

The Shop is always open, so members can plan every purchase. The merchant is different: it turns up when nobody expects it, brings only a few offers and leaves again, so a chat that is active at the right moment gets the rare deal. Each visit lands at a random point inside your windows, and several visits in one day are spread out instead of bunched together.

Members can type /merchant at any time. While a visit is live it shows the channel, the offers with stock left and when the merchant leaves, with a button to jump to the message. When the merchant is away it only says when the next window opens, never the exact time.

  • Visit windows by weekday and UTC hour, with presets for every day, evenings and weekends
  • Up to 25 units in one purchase, within the stock left and the per-member limit
  • A random channel from your list for every visit, plus an optional ping role
  • Name, emoji, greeting, image and color of your own merchant

Safe purchases on top of your Shop

Every unit the merchant sells goes through the same purchase path as the Shop: its own purchase row, its own Bank transaction and the usual Shop log entry. A purchase is all or nothing, the Shop’s own stock and per-member limit still count, and a price that changed after the buy card was shown is refused instead of charged. Merchant prices are at least 1 coin, so every unit counts as paid for your server’s paid-coin rules. Only plain items can be sold here; roles, colors and staff-delivered items stay in the Shop.

In the dashboard, the Visits tab shows 30-day totals, the live or planned visit and a history with every purchase, and Summon now brings the merchant at once. The Server Doctor warns when the merchant is on but has no stock, no channel or no permission to post. Pool entries per server: 10 on Free, 50 on Pro.

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 offer doesn’t exist any more.Locate the referenced item, channel, member or record in this server. Correct a deleted destination or stale selection instead of creating unrelated replacements.
The merchant has already left.Open the existing record and confirm its current result before creating a replacement. An already-completed response can indicate that the first action succeeded.
Sold out!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 can buy at most [limit] of this per visit.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.
You already own the most of this item the Shop allows ([limit]).Open the existing record and confirm its current result before creating a replacement. An already-completed response can indicate that the first action succeeded.
The merchant needs the Shop, which is off on 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.
The merchant needs the Bank, which is off on 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.
This card belongs to someone else — press the offer on the merchant’s message.Identify who owns this interaction or record. Ask that person to use their own controls; reopening another person’s card does not transfer ownership.

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
The merchant does not appear at a fixed hourRandom visit timing, allowed windows, daily visit cap and minimum gap.Inspect the eligible window and visit history rather than expecting a fixed recurring post.
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

How do I add a wandering merchant to my Discord server?

Enable the Shop and the Bank in the web dashboard, turn on the Wandering Merchant, add a few Shop items to its stock pool and choose its channels and visit windows. It plans its first visit by itself.

Can members find out when the merchant comes?

/merchant tells them when the next visit window opens, not the exact time, so the surprise stays. Staff see the planned time in the dashboard, and an optional ping role lets members get notified when it arrives.

Do Shop sales or the Deal of the day lower merchant prices?

No. The merchant charges the price you set for each pool entry. Shop sales, the Deal of the day and the Server Weather discount don’t apply to it.

Can the merchant sell items that aren’t in the Shop?

Every offer is a plain Shop item, but it can be one you switched off in the Shop. Then members can’t buy it with /shop or /buy, and the merchant is the only one who sells it.

What happens if two members buy the last unit at once?

Each purchase locks the offer before it checks the stock, so the clicks are handled one after another. The first member gets the unit and the second sees that it’s sold out. Nobody pays for something they don’t get.

How many visits and channels can I have?

Visits per day: up to 2 on Free and 6 on Pro. Merchant channels: 1 on Free, 5 on Pro. See pricing for every plan limit.

Launch checklist

  • Open a trial visit and verify stock, price and purchase delivery.
  • Checked: that the offer closes at the displayed time and respects per-visit quantities.
  • 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 Wandering Merchant 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
/merchantSee the Wandering Merchant: what they sell now, or when they may come byNo options

Find an answer

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

Start typing to find a guide.

Browse all guides