BotX is a sophisticated Discord chatbot designed to enhance your server interactions with dynamic responses and advanced voice capabilities. Developed using the discord.py
library, BotX features integration with the Mistral AI model and Google Text-to-Speech (gTTS), with voice responses processed through FFmpeg.
-
Dynamic Responses: BotX utilizes the advanced Mistral AI model via the Groq API to generate precise, relevant, and engaging responses to user queries. Whether you're seeking factual information, need assistance with a task, or just want some fun, BotX's intelligent processing ensures that you receive well-crafted answers that fit the context of your inquiry.
-
Enhanced Voice Interaction: One of BotX's standout features is its ability to transform text responses into natural, human-like speech. Using Google Text-to-Speech (gTTS), BotX converts written replies into audio, which is then processed through FFmpeg to ensure compatibility with Discord's voice channels. This feature allows the bot to join voice channels and speak directly to users, providing a more immersive and interactive experience. The audio is carefully converted to a format that Discord can handle, ensuring clear and high-quality sound.
-
Interactive Help Menu: BotX offers a user-friendly help system through an interactive dropdown menu. By using the
!!help
command, users can access a well-organized menu that provides information on various topics such as command usage, voice mode toggles, and developer details. This feature simplifies navigation and makes it easy for users to find the information they need quickly. -
24/7 Availability: BotX is hosted on Pylexnodes, a reliable cloud platform, ensuring that it remains active and operational around the clock. This means that the bot is always available to assist with queries, provide entertainment, or manage server interactions, regardless of the time of day. The robust hosting setup guarantees minimal downtime and consistent performance.
To get BotX up and running, follow these steps:
- Python 3.8 or higher
- FFmpeg: Make sure FFmpeg is installed and accessible in your system's PATH.
-
Clone the Repository
git clone https://github.com/Haseebasif7/BotX-Discord-.git cd BotX
Create a Virtual Environment
python -m venv venv source venv/bin/activate
Install Dependencies
pip install -r requirements.txt
Set Up Environment Variables
Create a .env file in the root directory of the project and add the following variables:
DISCORD_TOKEN=your_discord_bot_token GROQ_API_KEY=your_groq_api_key user_id=your_discord_user_id
Run the Bot
python bot.py
!!help
- Displays the interactive help menu.!!voice
- Toggles between text and voice mode.!!logout
- Logs out the bot (Developer only).!!<query>
- Ask the bot a question or request information.
Use Below link to add BotX in your Discord Server : BotX
Ensure you are in a voice channel to receive responses in voice mode.
Contributions to BotX are welcome! If you have suggestions, bug reports, or improvements, please open an issue or submit a pull request.
- discord.py: For the Discord API wrapper.
- gTTS: For text-to-speech conversion.
- FFmpeg: For audio processing.
- Groq API: For AI-based responses.
botx-discord-'s People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
Jobs
Jooble