A discord bot that works like an ecommerce, you can sell any kind of digital product to users of your discord server.
For now, pix is the unique payment method avaliable.
The API used to handle products, stocks and payments can be found here: Pix Integration with Nest.js
Title |
Image |
Description |
Step 1 - Creating a new product |
|
Use the command "/produtos criar" to start, then click the button. |
Step 1.1 |
|
After clicking the button, this form will appear, insert the data and then click to submit. |
Step 1.2 |
|
Now, with the product channel created, people can see the details and it stock. |
Step 2 - Managing stock |
|
Well, as our product is without stock, we need to add items to it, so, use the command "/produtos listar" and click in "Gerenciar estoque". |
Step 2.1 |
|
Select the option of what you gonna do, in this case "Adicionar" to add an new item to stock. |
Step 2.2 |
|
Then, insert the information of the item that will be inserted. |
Step 3 - Buying a product |
|
Now, anyone in your discord server can buy the product that you're selling. In this image, you can see the form that opens when user clicks in buy button. |
Step 3.1 |
|
After inserting the email, a QR code to pay the order will be generated |
Step 3.2 |
|
After payment confirmed, the item will be sent to buyer email and removed from the stock |
First of all, you'll need to set up the enviroment.
Following the .env.example
, implement .env
file and insert the values of variables.
# development
$ yarn dev
# production mode
$ yarn start