Skip to content

Discord bot that focuses on "store" / CRUD design system. With Growtopia as a theme.

License

Notifications You must be signed in to change notification settings

paaiz/GrowStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GrowStore

Discord bot that focuses on "store" / CRUD design system, with the help of MongoDB for the database. As for the name, GrowStore means Growtopia Store, learn more about Growtopia here

Features

  • 🤑 Ability to buy product
  • 👀 Ability to see the product list
  • 🔔 Ability to set your GrowId and check balance
  • 🛠 CRUD system (Privilege for the bot owner(s)):
    • Ability to add stock to database and automatically displays to the product list
    • Ability to update the stock
    • Ability to delete the stock
    • Ability to check the stock folder.
    • Ability to add data txt (only) file so that the user can buy the product

Useful Information

  • If you forked this repository up, and sees the stock folder, do not delete the folder.

  • Mainly, this bot uses txt file as the product and the user who bought will be given the txt file.

  • To create a stock file, you can only use txt as a file extension alongside the name are very case sensitive.

    • Example:
    • PID_9.txt
      • PID stand for Product ID and the user who bought will have to type PID for the product code.
      • "9" can be higher or lower, are basically the stock count. You need to hardcode the stock count and match the count from the /product list
    • So if you have 9 stocks you need to write the stock file as PID_9, PID_8, and so on.
    • Because in the database itself, its counting the stock. So if you set the stock to 10, the bot will look for the highest stock first.
  • For the main currency, this bot uses "World Lock" from Growtopia game. There are no manually add World Lock to your account's balance, unless it's given from the database itself.

  • The webhook are integrated with the "bot" from the Growtopia itself, so the bot that are in the Growtopia can detects the donation log and it will send you the embed to your Discord channel.

  • To add balance, Set your GrowId first using /user set <growid>. This system detects a webhook containing an embed and then detects the player name, item name, and the amount. So the bot will detect for specific item name such as Diamond Lock or World Lock.

Installation

That will be it

Dont forget to leave a star on this repository if you like the idea 😄

About

Discord bot that focuses on "store" / CRUD design system. With Growtopia as a theme.

Topics

Resources

License

Stars

Watchers

Forks