Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sexfrance/warranty-bot

A Discord bot for managing digital product warranties, automating replacement requests, and tracking customer reviews and vouches. Ideal for sellers on platforms like Sellix to ease after-sales support.
https://github.com/sexfrance/warranty-bot

bot discord discord-bot discord-py discord-sellix python python-bot sellix sellix-warranty shop-bit shop-bot warranty warranty-bot warranty-bot-sellix

Last synced: 24 days ago
JSON representation

A Discord bot for managing digital product warranties, automating replacement requests, and tracking customer reviews and vouches. Ideal for sellers on platforms like Sellix to ease after-sales support.

Awesome Lists containing this project

README

        



Discord - Warranty Bot



A Discord bot for managing digital product warranties, automating replacement requests, and tracking customer reviews and vouches. Ideal for sellers on platforms like Sellix to ease after-sales support. The bot will check if the user vouched in the right format (+rep @ownerid quantity product price), if they made a 5 star review on the shop and if the warranty expired. It includes an auto warranty duration scrapper using product title, the warranty duration is of course customisable in products.json




๐Ÿ’ฌ Discord
ยท
๐Ÿ“œ ChangeLog
ยท
โš ๏ธ Report Bug
ยท
๐Ÿ’ก Request Feature


### โš™๏ธ Installation

- Requires: `Python 3.9+`
- Make a python virtual environment: `python3 -m venv venv`
- Source the environment: `venv\Scripts\activate` (Windows) / `source venv/bin/activate` (macOS, Linux)
- Install the requirements: `pip install -r requirements.txt`
- Start: `python3 main.py`

---

### ๐Ÿ”ฅ Features
- Nice Embeds
- Easy rebrand
- Creates vouch messages
- Can dm the user with his product (file/text) or stock (saved under stock/productname.txt)
- Checks if the user vouched in the rigt format (+rep <@ownerid> quantity product price)
- Checks if the user made a 5 star website review before opening a ticket
- Smart Ticket system included (.replace will close the ticket)
- Auto Scrapes warranty duration from product titles and saves data in product.json (Product id, title and warranty duration)
- Customizable, if you manually changed a warranty duration in json it will not update it while scrapping
- Can add excluded product ids for the warranty scrapper in excluded.json
- Everything in config.json is customizable and changable using the .set command
- Transcribe the replace ticket!
- And more!

#### Commands
- โ„น๏ธ `.help` - List all available commands
- ๐Ÿ“จ `.replace_message` - Initiates a replacement request system
- ๐Ÿ—‘๏ธ `.remove_product ` - Removes and excludes a product by its ID in JSON
- ๐Ÿ”‘ `.create_warr ` - Creates a new warranty for a product
- ๐Ÿ“ฆ `.stock ` - Saves product to a stock file under stock/.txt
- ๐Ÿ”„ `.replace [amount] [file/string]` - Sends a replacement embed to a user. It can be sent from stock (using the amount parameter) or a file/string (no amount parameter needed)
- ๐Ÿงน `.warr` - Displays an embed with the warranty duration of all products
- ๐Ÿ”ง `.set ` - Set various bot configurations. Use `.set help` for details
- ๐Ÿ”Ž `.check_warr ` - Checks if the user has vouched, left a web review, and if their warranty has not expired
- โš™๏ธ `.transcribe ` - Transcribes the dm of any user
---
#### ๐Ÿ“น Preview

![Queue Bot Help Command](https://i.imgur.com/51wmu0Q.png) ![Queue Bot Queue System](https://i.imgur.com/Jlq3c8r.png) ![Queue Bot DM](https://i.imgur.com/f04pX21.png) ![Queue Bot replacement request](https://i.imgur.com/F5uEeS2.png) ![Queue Vouch Required](https://i.imgur.com/0FYG7wh.png)

---
### โ— Disclaimers

- I am not responsible for anything that may happen, such as API Blocking, Account Termination, etc.
- This was a quick project that was made for fun and personal use if you want to see further updates, star the repo & create an "issue" [here](https://github.com/sexfrance/Warranty-Bot/issues/)

---

### ๐Ÿ“œ ChangeLog

```diff
v0.0.1 โ‹ฎ 08/14/2024
! Initial release

v0.0.1 โ‹ฎ 00/1/2024
! Added ticket transcription
```

---