Skip to content

Vaish is a modern, AI-powered Discord bot with advanced moderation, XP & leveling, points system, interactive games, and Google Gemini integration — all fully open-source, privacy-friendly, and designed for maximum server engagement.

License

Notifications You must be signed in to change notification settings

harshendram/Advanced-Discord-Bot

Repository files navigation

🤖 VAISH - Ultra-Modern AI Discord Bot

Discord Bot Node.js MongoDB Gemini AI TypeScript License

🚀 Meet VAISH - The most advanced, feature-rich Discord bot that you own completely!
✨ No subscriptions • 🔓 Full ownership • 🛡️ Privacy-first • ⚡ Lightning-fast

Screenshots Features Installation Deploy to Render CommandsContributing


📊 Project Statistics

GitHub Stars
Stars
GitHub Forks
Forks
GitHub Issues
Open Issues
GitHub Pull Requests
Pull Requests
GitHub Contributors
Contributors

🖼️ Screenshots

🎨 Full Feature Showcase (Professional Grid)

Birthday System 🎂 Birthday System Daily Points 💰 Daily Points Rewards Feedback Form 📝 Feedback Collection
Feedback Suggestions 💡 Suggestion Box Leaderboard 🏆 Global Leaderboards Main Menu 📋 Main Menu Interface
Memes System 😂 Meme Integration Performance Dashboard 📊 Server Performance Dashboard Reminder Setter ⏰ Smart Reminders

✨ Why Choose VAISH?

💰 100% Free Forever - No monthly subscriptions, no hidden costs, completely free
🔓 Complete Ownership - Every line of code belongs to you, no vendor lock-in
🛡️ Privacy First - Your data stays on your servers, zero data mining
Ultra-Modern Stack - Built with Discord.js v14, Node.js 18+, and latest technologies
🎨 Beautiful UI - Stunning embeds with modern Discord components and animations
📈 Enterprise Scale - Handles servers from 10 to 100,000+ members effortlessly
🗄️ Advanced Database - MongoDB with intelligent caching and data persistence
🤖 AI Superpowers - Google Gemini integration for intelligent responses
🔧 Developer Friendly - Clean code, extensive documentation, easy to customize
🌐 Cloud Ready - Deploy anywhere - Render, Railway, Heroku, or your own VPS


🎯 Core Features

🤖 Advanced AI Assistant (Google Gemini Pro)

  • Intelligent Q&A - Ask anything and get smart, context-aware responses
  • Rate Limiting - Built-in protection against spam and abuse
  • Error Recovery - Graceful handling of API limits and failures
  • Conversation Memory - Maintains context for better interactions
  • Multi-Language - Supports questions and responses in multiple languages

💎 Advanced Points & Rewards

  • Daily Rewards - Claim daily points with streak bonuses
  • Point Economy - Trade points between users with transaction history
  • Leaderboards - Server-wide rankings with seasonal resets
  • Achievement System - Unlock rewards for various activities
  • Customizable - Admins can adjust point rates and rewards

📊 Professional XP & Leveling

  • Multi-Activity Tracking - Messages, voice time, reactions, and more
  • Dynamic Role Rewards - Automatic role assignment based on levels
  • Progress Visualization - Beautiful progress bars and level-up animations
  • Statistics Dashboard - Detailed analytics for users and admins
  • Seasonal Events - Special XP bonuses during holidays and events

🎫 Enterprise Ticket System

  • Smart Ticketing - Professional support ticket management
  • Category Organization - Multiple ticket types with custom workflows
  • Team Collaboration - Assign tickets to staff members
  • Ticket Analytics - Response times, resolution rates, satisfaction scores
  • Auto-Archiving - Intelligent cleanup of resolved tickets

�️ Intelligent Moderation

  • AI-Powered Anti-Raid - Detects and stops raids automatically
  • Smart Filters - Content filtering with context awareness
  • Bulk Operations - Mass ban, kick, and message cleanup tools
  • Audit Logging - Comprehensive logs of all moderation actions
  • Appeal System - Built-in appeal process for banned users

� Interactive Entertainment

  • Modern Games - 8ball, dice, truth-or-dare with beautiful interfaces
  • Polls & Surveys - Interactive polls with real-time results
  • Meme Integration - Fresh memes from multiple sources
  • Custom Commands - Server-specific commands and responses
  • Event System - Automated events and celebrations

Commands List

📊 Command Categories Breakdown

Category Count Examples
🎮 Fun & Games 5 8ball, meme, roll, secret, truthordare
🛡️ Moderation 4 antiraid, ban, kick, purge
📊 Utility & Info 7 help, ping, userinfo, serverinfo, botstats
💎 Rewards & XP 4 daily, points, profile, xpconfig
🎫 Support System 2 ticket, ticketdashboard
🤖 AI Assistant 1 aiassistant
🎂 Community 1 birthday
🎭 Role System 1 roles
Reminders 1 reminder
📝 Feedback 1 feedback

Total: 36 Commands across 10 categories

Refer our Official Documentation for a list of complete commands.


Quick Start

Prerequisites

  • Node.js v16.0.0 or higher
  • MongoDB database (local or cloud)
  • Discord Bot Token (Get one here)
  • Google Gemini API Key (Get one here)

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/VAISH-discord-bot.git
    cd VAISH-discord-bot
  2. Install dependencies

    npm install
  3. Configure environment variables

    Create a .env file:

    DISCORD_TOKEN=your_discord_bot_token_here
    CLIENT_ID=your_bot_client_id_here
    GUILD_ID=your_test_guild_id_here
    MONGODB_URI=your_mongodb_connection_string
    GEMINI_API_KEY=your_gemini_api_key_here
  4. Deploy slash commands

    node deploy-commands.js
  5. Start the bot

    npm start

🌐 Deploy to Render (Free)

Deploy your bot for free on Render with these simple steps:

Step 1: Prepare Your Repository

  1. Fork this repository to your GitHub account
  2. Clone your fork locally and configure your .env file

Step 2: Deploy on Render

  1. Go to Render.com and sign up
  2. Click "New +" → "Web Service"
  3. Connect your GitHub repository
  4. Configure your service:
    Name: VAISH - Ultra-Modern AI Discord Bot
    Environment: Node
    Build Command: npm install
    Start Command: node index.js
    

Step 3: Set Environment Variables

Add these environment variables in Render dashboard:

  • DISCORD_TOKEN - Your Discord bot token
  • CLIENT_ID - Your bot's client ID
  • MONGODB_URI - Your MongoDB connection string
  • GEMINI_API_KEY - Your Google Gemini API key

Step 4: Deploy Commands

After first deployment, run this once in Render shell:

node deploy-commands.js

💡 Render Configuration Tips

  • Auto-Deploy: Enable auto-deploy for seamless updates
  • Health Check: Set health check path to / if you add a web endpoint
  • Environment: Production environment for better performance
  • Scaling: Free tier includes 512MB RAM and shared CPU

🔧 Database Setup

MongoDB Options

Option 1: MongoDB Atlas (Recommended)

  1. Go to MongoDB Atlas
  2. Create free account and cluster
  3. Get connection string and add to .env

Option 2: Local MongoDB

# Install MongoDB locally
npm install -g mongodb
mongod --dbpath ./data

Option 3: Railway MongoDB

  1. Create Railway account
  2. Add MongoDB service
  3. Copy connection string to .env

Database Features

  • Automatic Schema Creation - Tables created automatically
  • Data Persistence - All user data, XP, points, tickets stored
  • Backup Ready - Easy export/import capabilities
  • Scalable - Handles unlimited users and servers

🎮 Advanced Configuration

AI Assistant Setup

  1. Get Gemini API key from Google AI Studio
  2. Add to environment variables
  3. Bot automatically handles rate limiting and errors

XP System Configuration

// Configure XP rates (Admin only)
/xpconfig
- XP per message: 1-10
- XP per voice minute: 1-20
- Role automation: Enable/Disable

Points System Features

  • Daily Rewards: 50-200 points daily
  • Point Trading: Users can gift points
  • Leaderboards: Server-wide rankings
  • Future Ready: Framework for point shops

🔮 Future Features

🤖 Enhanced AI Learning

  • FAQ Training - Bot will learn from your server's frequently asked questions and user chats
  • Custom Responses - Fine-tuned responses based on your community's specific needs
  • Context Awareness - Remember conversation history for better customer support experience
  • Smart Learning - Analyze user interactions to provide better, more relevant answers
  • Multi-Language - Support for multiple languages in responses

🗄️ Redis Integration

  • Ultra-Fast Caching - Blazing fast command responses
  • Session Management - Better user state tracking
  • Rate Limiting - Advanced spam protection
  • Real-time Features - Live notifications and updates

📈 Expansion Goals

  • 100+ Commands - Comprehensive bot functionality
  • Custom Modules - Plugin system for custom features
  • Web Dashboard - Browser-based configuration panel
  • Analytics - Detailed server analytics and insights

🎯 Community Features

  • Economy System - Virtual currency and shops
  • Mini Games - Interactive games with rewards
  • Event System - Automated events and celebrations
  • Custom Roles - Dynamic role assignment system

🛠️ Technical Architecture

Modern Tech Stack

  • Discord.js v14 - Latest Discord API wrapper
  • Node.js 18+ - Modern JavaScript runtime
  • MongoDB - NoSQL database for flexibility
  • Google Gemini AI - Advanced language model
  • Mongoose - Elegant MongoDB object modeling

Performance Features

  • Command Cooldowns - Prevent spam and abuse
  • Error Handling - Graceful error recovery
  • Memory Management - Efficient resource usage
  • Auto-Restart - Built-in crash recovery
  • Logging System - Comprehensive activity logs

Security Measures

  • Permission Validation - Multi-layer permission checks
  • Input Sanitization - Prevent injection attacks
  • Rate Limiting - Protect against abuse
  • Data Encryption - Secure sensitive information

📞 Support & Community

Get Help

  • 📖 Documentation - Check this README first
  • 🐛 Bug Reports - Create an issue
  • 💡 Feature Requests - Share your ideas with the community
  • 💬 Discord Server - Join our community server for live help

Community Guidelines

  • Be Respectful - Treat all community members with respect
  • Be Helpful - Share knowledge and help newcomers
  • Be Patient - Remember everyone is learning
  • Be Constructive - Provide actionable feedback and suggestions


📄 License

This project is licensed under the MIT License — see the LICENSE file for full details.

License: MIT

🏆 Acknowledgments

Technologies Used

Special Thanks

  • Discord Developer Community - For inspiration and support
  • Open Source Contributors - For making this project possible
  • Beta Testers - For helping improve the bot
  • You - For choosing open source over proprietary solutions!

🚀 Ready to Deploy Your Own Bot?

Free • Open Source • Community Driven

Clone this repository and deploy to Render in under 10 minutes!

🌟 Star this repo🍴 Fork & Deploy📖 Read the docs


Built with ❤️ by the VAISH development team
"Empowering Discord communities with free, powerful, and intelligent bot solutions"

About

Vaish is a modern, AI-powered Discord bot with advanced moderation, XP & leveling, points system, interactive games, and Google Gemini integration — all fully open-source, privacy-friendly, and designed for maximum server engagement.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •