Shop

Members buy roles or prizes with server currency. Prize Bot grants role rewards itself. Staff deliver other prizes and mark the order complete.

Add an item

Before you start:

  • For priced items, set up a server currency.
  • Set a Manager Role. Without one, anyone who can run /shop commands can edit items and refund orders.
  • For role rewards, give the bot Manage Roles and move its role above the reward role.
  1. Run /shop add with a name and a price, such as name:VIP price:500.
  2. Optional: Set stock to the number available. The default is unlimited (-1).
  3. Optional: Set role to grant a role on purchase.
  4. Optional: Set currency. Without it, the item costs the server's default currency.

Members browse with /shop list and buy with /shop buy item:VIP quantity:1. A purchase takes the currency and reduces the stock right away. There's no limit on the number of items.

If a purchase fails

Prize Bot replies privately and charges nothing. Common reasons:

MessageWhat to do
this shop item is sold outWait for staff to restock it.
only N of this shop item remainBuy a smaller quantity.
buyer does not have enough currency to complete this purchaseCheck your balance with /profile. The item may cost a different currency.
this shop item is not currently availableStaff have hidden the item.

If the purchase goes through but the role can't be granted, you're still charged and the reply shows a warning with your order number. Send that number to staff so they can retry the reward.

Shop settings

On your server's Shop dashboard page, select Settings.

SettingEffect
Log ChannelGets new item announcements and purchase logs.
Manager RoleCan manage items and orders in Discord, along with administrators. If it's empty or @everyone, anyone who can run the commands can manage the shop.
Alert RolePinged when a new item is announced.

Item commands

CommandWhat it does
/shop listShow items for sale.
/shop infoShow an item's price, stock, status, and reward.
/shop buyBuy an item. quantity defaults to 1.
/shop addAdd an item. Options: name, price, description, currency, role, stock.
/shop editPick the item, then change any of those options. Set active to hide or show it.
/shop removeRemove an item. Its purchase history stays.

Manage orders

Each purchase creates an order with a number such as PB-000123. New orders are pending. Role rewards complete the order automatically. Manage orders on your server's Shop dashboard page under Purchases, which lists the 100 most recent orders, or with these commands. The commands follow the Manager Role rules. The dashboard requires server management access. /shop complete_order and /shop cancel_order accept an optional note.

ToDashboardCommand
See status and delivery errorsPurchases/shop order
Finish a manual deliveryComplete/shop complete_order
Cancel without refundingCancel order/shop cancel_order
Refund the currencyRefund/shop refund_order order:PB-000123 confirm:true
Retry a failed roleRetry reward/shop retry_reward

Refunds

  • You can refund any order once, whether it's pending, completed, or cancelled. The refund returns the original amount of server currency.
  • Refunds don't remove roles the order already granted.
  • Add restock:true to return the stock, and note to record a reason. Archived items stay archived. Older orders without stock details can be refunded but not restocked.
  • If the order's currency was deleted, the refund fails and nothing changes.
  • Cancelling an order doesn't refund it or return stock.

Fix a failed role reward

  1. Check the delivery error in Purchases or with /shop order.
  2. Give the bot Manage Roles, and move its highest role above the reward role.
  3. Select Retry reward, or run /shop retry_reward with the order number.

A retry grants the role saved at purchase. It doesn't charge again or take more stock. Refunded and cancelled orders can't be retried. Older orders without a saved reward must be delivered by hand or refunded.