This Discord bot allows users to search for scripts using the !search command or the slash command /search followed by a query. Users can specify the search mode as free or paid. The bot retrieves script information from the ScriptBlox API and Rscripts API and displays the results.
Some Rewrite on the code to fix some issues & bugs.Fix TheFirst&LastButton Page (I don't know why this is still not being fix or work on).Fix The page or total pageChange to the new scriptblox API updateAdd New Commands that use theScriptblox&RscriptsAPI.Rewrite to make a JavaScript Script Searcher Bot. (Failed many times on this, that's why this was written in Python and not Javascript).
- Multi-API Search: Choose between ScriptBlox and Rscripts APIs for script searches.
- Dual Command: Use both prefix commands (
!search) and slash commands (/search) for searching. - Script Information: Displays title, game name, script type, views, verified status, key requirement, creation and update dates, script content and etc.
- Navigation and Interaction: Navigate through search results with interactive buttons for easy browsing.
- Improved Help Command: Easy guide on using both prefix and slash commands.
!search <query> [mode]: Search for scripts using a prefix command. Example:!search arsenal paid./search <query> [mode]: Search for scripts using a slash command. Example:/search arsenal paid.!bothelp: Display help information about using the bot./bothelp: Display help information using the slash command.
- Clone the Repository:
git clone https://github.com/AdvanceFTeam/Script_Searcher_Discord_Bot.git - Install Dependencies:
pip install -r requirements.txt - Configure Environment: Create a
.envfile with your Discord bot token (BOT_TOKEN=your_token_here). - Run the Bot:
python main.py
- in
requirements.txtand just do:
pip install -r requirements.txt
For an easy deployment, use Replit:
Please feel free to open a issues or submit pull requests to improve the discord bot.
This project is licensed under the MIT License - meaning you can feel free to customize it further to match your bot's features and specifications.
If you need further assistance, join our Discord community.
