Skip to content

livexords-nw/oasisBotDeleteProviders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Manage providers registered on the Oasis.ai API with ease using Oasis Bot!


🚀 About the Bot

Oasis Bot is a powerful script designed to manage providers on the Oasis.ai API. With this bot, you can:

  • Read tokens from the tokens.txt file.
  • Retrieve a list of available providers.
  • Automatically delete providers based on their ID.

This script is built using Node.js and leverages Axios as the HTTP request library.


📥 Installation Guide

Follow these steps to install and run the script:

1️⃣ Set Up Your Project

  1. Create a new folder to store the script files.
  2. Navigate to the project folder in your terminal:
    cd [your-project-folder]

2️⃣ Create the delete.js File

  1. Inside your project folder, create a new file named delete.js.
  2. Copy the delete.js script provided in this repository into your file.

3️⃣ Install Dependencies

  1. Initialize a new Node.js project:
    npm init -y
  2. Install the required libraries (Axios, fs, path, chalk):
    npm install fs path axios chalk

4️⃣ Ensure tokens.txt Contains Your Oasis API Token

If tokens.txt is missing or empty, generate a new token by running:

npm run setup

5️⃣ Run the Script

  1. Execute the script using Node.js:
    node delete.js
  2. The script will read the token from tokens.txt, fetch the provider list, and delete providers automatically.

⚠️ Important Notes

  • Valid Token Required: Ensure your API token is active and valid for Oasis.ai.
  • Modify If Necessary: Adjust API URLs or parameters as needed if Oasis.ai updates its endpoints.

🛠️ Contributing

Want to add new features or report issues? Feel free to create a pull request or open an issue in the repository.

Happy coding! 🚀

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published