Skip to content

Shop for tokens #358

@Pierre-Demessence

Description

@Pierre-Demessence

A shop where people can use casino tokens.

  • Should be /casino shop top show an ephemeral embed with all the items with descriptions, and buttons to buy items.
    • A button or a select dropdown to buy ? Dropdown might be better if there are a lot of items.
    • Shop should show items already purchased ? Make strike them ? (And ofc remove them from the dropdown).
    • To show all items in one embed, make a pagination system ?
  • For now the things we can buy won't do anything, so let's just create the system.
  • That means two new table in the DB:
    • A table for the shop items, with title, description, price.
    • A table that tracks which user bought what (+ date?)
      • This table should also be reset by /casino reset
  • Buying should be tracked as a token expense in the transaction table (with a new type).

A few examples of items to buy, as tests for the system (for now none of these do anything, no need to implement any logic):

  • Auto Daily Tokens - Will retrieve the daily tokens automatically - 20,000
  • A few badges, that don't do anything, people will buy them to show off:
  • Badge ??? for 1,000
  • Badge ??? for 10,000
  • Badge ??? for 100,000
  • Badge "Millionaire" - 1,000,000
  • One of them could be called "Casino Lover", idk for the other ones

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions