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
·
- 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
- 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!
- ℹ️
.help
- List all available commands - 📨
.replace_message
- Initiates a replacement request system - 🗑️
.remove_product <product_id>
- Removes and excludes a product by its ID in JSON - 🔑
.create_warr <product_id> <duration>
- Creates a new warranty for a product - 📦
.stock <product> <file>
- Saves product to a stock file under stock/.txt - 🔄
.replace <user> [amount] <product> [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 <setting> <value>
- Set various bot configurations. Use.set help
for details - 🔎
.check_warr <user> <order_id>
- Checks if the user has vouched, left a web review, and if their warranty has not expired - ⚙️
.transcribe <user>
- Transcribes the dm of any user
- 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
v0.0.1 ⋮ 08/14/2024
! Initial release
v0.0.1 ⋮ 00/1/2024
! Added ticket transcription