Skip to content

Shop 3.0.0 Patch Notes

Redjumpman edited this page Mar 26, 2018 · 1 revision

Patch Notes

This is a build for Red V3 and is incompatible with V2. This release marks end of support for v2. The shop redesign was a complete rewrite of the legacy system. As a result it uses the d.py rewrite and the Red V3 data backend.

What's New

  • Shop now uses an embed menu system for buying items, checking your inventory, and viewing the pending list.
  • You can have multiple shops with their own item lists.
  • Items come in 4 types: standard, random, role, and auto. This system allows for later feature expansion.
  • Random items will grant the user a random item, weighted on the price of all items in that shop.
  • When a pending item is approved by an admin, the user is now sent a DM by the bot letting them know.
  • Items can be purchased directly without viewing the menu.
  • Items can be bulk uploaded via text or via a csv file.
  • The shop cog can now be either global or local. (Meaning all shops are global or all shops are local)
  • Shops can be optionally restricted by a role.
  • Added a restock command which will restock all items in the shop by a set amount. (Doesn't work for auto items)
  • Alerts are sent to users when an item in their pending list is approved.
  • An Item Manager was created to make the creation of items more smooth.
  • Added logging so bot owners can monitor shop transactions.

What's Changed

  • Users can now have multiple items of the same name pending.
  • The shop no longer needs to be in automatic mode to sell items that send DMs.
  • Auto items require an equal number of messages and quantity.
  • Auto items can only be added via the item manager or via csv file.
  • Auto items cannot be infinite.
  • Smarter message chunking for messages longer than 2000 characters.
  • The buyrole cog from Refactored Cogs is no longer required to add role tokens.

Deprecated

  • Automatic and manual modes were removed in favor of item types.
  • Discounts were removed.
  • Removed buyrole cog requirement.
  • Removed pending group command. Pending commands are all in shop.
  • Removed pending status.
  • Removed pending search in favor of the pending menu.
  • Removed addrole command for items in favor of item types.