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.
- 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
.env
file with your Discord bot token (BOT_TOKEN=your_token_here
). - Run the Bot:
python main.py
- Python 3.7+
- discord.py
- requests
- validators
- dotenv
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.
- NOTE: Just give a little credit to us just for support that's all.
If you need further assistance, join our Discord community.