Skip to content

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.

License

Notifications You must be signed in to change notification settings

sexfrance/Warranty-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 <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

📹 Preview

Queue Bot Help Command Queue Bot Queue System Queue Bot DM Queue Bot replacement request Queue Vouch Required


❗ 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

📜 ChangeLog

v0.0.1 ⋮ 08/14/2024
! Initial release

v0.0.1 ⋮ 00/1/2024
! Added ticket transcription

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages