BatchBot is a cutting-edge Discord bot powered by advanced AI models from Google Gemini and Hugging Face, designed to elevate your server experience with a futuristic, neon-infused aesthetic. Engage in natural conversations, analyze and generate images, get YouTube summaries, perform web searches, and much more โ all for free!
-
Demo: A quick walkthrough of the basics to get you up and running.
-
What's New in v1.5.0: Learn about the latest features and improvements in this update video.
-
In-Depth Setup Guide: A comprehensive guide to setting up the code from scratch. Coming soon! Stay tuned for updates.
BatchBot offers a rich suite of features powered by state-of-the-art AI:
Engage in dynamic and context-aware conversations using Google Gemini AI (Pro, Pro Advanced, or Flash). Experience natural language understanding, insightful answers, creative content generation, and even role-playing.
Upload images for detailed AI-powered analysis. BatchBot can identify objects, scenes, and even emotions within images. New in v2.1: Analyze multiple images at once!
Upload videos for AI-powered analysis, identifying objects, scenes, and more.
Create stunning visuals using Hugging Face's Stable Diffusion and other powerful models. Generate anything from artistic masterpieces to humorous memes.
-
Expanded Model Choices (v2.0.0 & v2.1.0): BatchBot offers a wider selection of models, including specialized LoRAs (Low-Rank Adaptations) for unique styles:
stabilityai/stable-diffusion-xl-base-1.0
(Default)stabilityai/stable-diffusion-3-medium-diffusers
ehristoforu/dalle-3-xl-v2
black-forest-labs/FLUX.1-schnell
dataautogpt3/FLUX-anime2
Yntec/Chip_n_DallE
black-forest-labs/FLUX.1-dev
Shakker-Labs/FLUX.1-dev-LoRA-Garbage-Bag-Art
Shakker-Labs/FLUX.1-dev-LoRA-add-details
(v2.0.0): For highly detailed imagesShakker-Labs/FLUX.1-dev-LoRA-Logo-Design
(v2.1.0): Specializes in logo design
-
Image Example:
Compose unique musical pieces using AI! The /music
command uses Hugging Face models to generate music based on your prompts.
- Model Choices:
facebook/musicgen-small
(Default)facebook/musicgen-stereo-small
Get quick summaries and full transcripts from YouTube videos. BatchBot analyzes video URLs and extracts key information.
- Enhanced YouTube Search (v2.0.0): More accurate and relevant results using the DuckDuckGo Search API.
Analyze and extract valuable information from various file types, including PDFs, DOCX, Markdown, Python, JavaScript, and more. BatchBot can even summarize complex documents.
- Advanced File Handling (v2.0.0): Expanded support for DOCX, XLSX, PPTX, and MCMETA files.
Search the web efficiently using the DuckDuckGo API. BatchBot summarizes the most relevant results, saving you time and effort.
BatchBot remembers important information from conversations and through the dedicated /memory_save
command (v2.0.0). This enhances personalization and context awareness.
Personalize your interactions by setting a custom name for yourself.
BatchBot can now join and speak in voice channels! Control its voice, replay messages, and more. See the "Features" section for details.
-
7 Supported Languages: BatchBot now supports 7 additional languages, enhancing accessibility and global interaction. Supported languages include:
- English (Default)
- Russian
- Spanish
- French
- German
- Arabic (Egypt)
- Arabic
-
Localized Responses: BatchBot provides localized responses and improved comprehension in these languages. More languages will be added in future updates!
๐ Why Host on bot-hosting.net Instead of Replit for Deployment?
While Replit is excellent for development and experimenting with BatchBot, it's not always the best choice for a bot that needs to be online 24/7. Replit's free tier has limitations, and their paid options can become expensive for continuous bot hosting. For a reliable and cost-effective solution for deploying BatchBot, we strongly recommend bot-hosting.net.
Benefits of bot-hosting.net for Deployment:
- Superior Reliability for 24/7 Uptime: Unlike Replit's free tier,
bot-hosting.net
is designed from the ground up to provide consistent uptime for bots, keeping BatchBot available whenever your users need it. - Dedicated Server Resources: You get dedicated resources, ensuring that your bot has smooth and consistent performance without the constraints imposed by shared hosting environments which Replit offers on their free tier.
- Optimized Bot Hosting Environment:
bot-hosting.net
is specifically tailored for bots, providing an optimized server environment. - Scalability: As your bot's user base grows, you can easily scale your resources to handle the increased demand, without the downtime that is associated with migrating to a bigger server.
- Cost-Effective for Continuous Hosting: In many cases, hosting with
bot-hosting.net
is more affordable than Replit for long-term, continuous bot hosting, especially if you are relying on Replit's paid plans. - Easy Management: Their platform provides an intuitive and easy-to-use dashboard, allowing you to manage and monitor your bot without complex server knowledge.
- Automated Backups: Your valuable bot data is safe and secure with their automated backup system.
- Expert Bot Support: Access specialized support from a team that understands the nuances of bot hosting.
By choosing to host your bot with bot-hosting.net
through this link, you're directly supporting our efforts to develop and maintain BatchBot. The referral credits we receive help us dedicate more time and resources to:
- Improving the Bot: Adding new features, enhancing performance, and fixing bugs so BatchBot remains the best AI-powered Discord bot.
- Creating More Resources: Producing tutorials, documentation, and other helpful materials to ensure you have a great experience using BatchBot.
- Keeping BatchBot Free and Open Source: Your support helps us keep BatchBot accessible to everyone, for free.
Recommendation:
We highly recommend using Replit for the initial coding, testing, and experimentation phase. However, when you are ready to deploy your bot and keep it running 24/7, we strongly suggest using bot-hosting.net as a reliable and often more cost-effective hosting solution. Your support using this link will greatly help us improve BatchBot.
- A Discord server
- Python 3.9+
- A Discord Bot account (Discord Applications)
- A Google Gemini API Key (Gemini API Key)
- A Hugging Face API Key (Hugging Face API Key)
MAKE SURE THAT YOUR HUGGING FACE API KEY HAS THESE PERMISSIONS:
- Clone the repository:
git clone https://github.com/YoussefElsafi/Advanced-AI-Discord-Bot-BatchBot.git
cd Advanced-AI-Discord-Bot-BatchBot
- Install dependencies:
pip install -r requirements.txt
Edit system/config.py
with your API keys and desired settings (see detailed explanation above).
python main.py
/ai [prompt]
: Chat with BatchBot./aitoggle on/off
: Enable/disable automatic AI responses./img [prompt] [model]
: Generate images (optional model selection).- Upload images for analysis (automatic with
aitoggle
on). - Paste YouTube URLs for summaries and transcripts (automatic with
aitoggle
on). - Upload files for analysis (automatic with
aitoggle
on). /music [prompt] [model]
: Generate music (optional model selection)./vc [action] [channel_name(optional)]
: Voice chat controls (join, leave, status, tts, voice, replay).//help
: See all commands.
MIT License - see the LICENSE file.
Thanks to Google, Hugging Face, DuckDuckGo, and all contributors!
BatchBot is under active development. We are aware of potential issues and are working to resolve them. Please report any problems you encounter.
- Reach out via email: Support
- Open an issue on our GitHub repository
- Watch our YouTube Demo for setup instructions
- Watch our YouTube Update Video (v1.5.0) for more information
- Check our Documentation for detailed guides
Enjoy using BatchBot! ๐
Update Info:
- Latest Version: v2.2
- Release Date: 12/07/2024
- Published By: Youssef Elsafi