Loading repository data…
Loading repository data…
YoussefElsafi / repository
BatchBot: An advanced AI-powered Discord bot offering interactive conversations, image and file analysis, web searches, image generation, and more. Free and open-source, it uses Google Gemini, Hugging Face Stable Diffusion, and Google Search APIs for a versatile and engaging experience.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
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!
Object Detection Example:
Image Recognition Example:
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-diffusersehristoforu/dalle-3-xl-v2black-forest-labs/FLUX.1-schnelldataautogpt3/FLUX-anime2Yntec/Chip_n_DallEblack-forest-labs/FLUX.1-devShakker-Labs/FLUX.1-dev-LoRA-Garbage-Bag-ArtShakker-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 designImage Example:
Shakker-Labs/FLUX.1-dev-LoRA-add-detailsCompose unique musical pieces using AI! The /music command uses Hugging Face models to generate music based on your prompts.
facebook/musicgen-small (Default)facebook/musicgen-stereo-smallGet quick summaries and full transcripts from YouTube videos. BatchBot analyzes video URLs and extracts key information.
Analyze and extract valuable information from various file types, including PDFs, DOCX, Markdown, Python, JavaScript, and more. BatchBot can even summarize complex documents.
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:
Localized Responses: BatchBot provides localized responses and improved comprehension in these languages. More languages will be added in future updates!
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.
bot-hosting.net is designed from the ground up to provide consistent uptime for bots, keeping BatchBot available whenever your users need it.bot-hosting.net is specifically tailored for bots, providing an optimized server environment.bot-hosting.net is more affordable than Replit for long-term, continuous bot hosting, especially if you are relying on Replit's paid plans.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:
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.
MAKE SURE THAT YOUR HUGGING FACE API KEY HAS THESE PERMISSIONS:
git clone https://github.com/YoussefElsafi/Advanced-AI-Discord-Bot-BatchBot.git
cd Advanced-AI-Discord-Bot-BatchBot
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).aitoggle on).aitoggle on).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.
Enjoy using BatchBot! 🚀
Update Info: