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