Skip to content

RayBen445/Cool-Shot-AI-V2

ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

96 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐‚๐จ๐จ๐ฅ ๐’๐ก๐จ๐ญ ๐€๐ˆ ๐•2 - Multi-Role AI Assistant

A comprehensive Telegram bot offering advanced multi-role AI assistance, administrative tools, support system, and extensive utilities.

๐Ÿ†• Latest Updates (v2.0.2)

Recent Integration: mauricegift/telegram-bot Enhancements

  • Enhanced Download API: Upgraded to more reliable download endpoints with proper authentication
  • Bug Fixes: Fixed timezone references in menu commands and video download methods
  • Improved Error Handling: Better API error handling for more stable downloads
  • Performance Optimization: Optimized API calls with consistent quality displays
  • Maintained Features: All existing Cool Shot AI V2 features preserved during integration

What's New:

  • โœ… API Authentication: Proper API key usage for more reliable downloads
  • โœ… Menu Bug Fix: Fixed timezone display issues in system menus
  • โœ… Download Improvements: Enhanced ytmp3, ytmp4, play, and video commands
  • โœ… Quality Consistency: Standardized quality displays (128Kbps audio, 720p video)
  • โœ… Error Messages: Better error feedback for failed operations

๐Ÿ“ฑ Connect with us

WhatsApp Channel: https://whatsapp.com/channel/0029VbAlmwn8V0tmhrtxSH0x

๐ŸŒŸ Key Features

๐Ÿค– Multi-Role AI Assistant System

  • 7 AI Personalities: Default, Teacher, Programmer, Creative Writer, Data Analyst, Casual Friend, Professional
  • Smart Role Switching: Users can switch between AI roles for specialized assistance
  • Contextual Responses: Each role provides tailored responses based on their expertise
  • Role History: Track and manage role changes

๐ŸŒ Multi-Language Support

  • 12 Languages Supported: English, Spanish, French, German, Italian, Portuguese, Russian, Japanese, Korean, Chinese, Hindi, Arabic
  • Localized Interface: Bot messages adapt to user's selected language
  • Easy Language Switching: Simple commands and inline keyboards for language selection

๐Ÿ‘จโ€๐Ÿ’ผ Advanced Admin Panel

  • Comprehensive Statistics: User activity, command usage, system metrics
  • User Management: Block/unblock users, set premium status, view user info
  • Group Management: Enable/disable bot in groups, manage group settings
  • Command Analytics: Top commands, usage trends, performance metrics
  • System Monitoring: Uptime, memory usage, bot health

๐Ÿ“ข Broadcast System

  • Targeted Broadcasting: Send messages to all users, groups, or premium users
  • Delivery Tracking: Monitor message delivery success/failure rates
  • Admin Controls: Create and manage broadcast campaigns

๐ŸŽซ Support Ticket System

  • Comprehensive Ticketing: Create, manage, and track support requests
  • Priority Levels: Low, Medium, High, Urgent priority classification
  • Category System: Technical, Feature Request, Bug Report, Account, General, Other
  • Status Tracking: Open, In Progress, Waiting, Resolved, Closed
  • Admin Tools: Assign tickets, update status, reply to users
  • Statistics: Ticket analytics and performance metrics

๐Ÿ”ง Text Utilities Toolkit

  • Case Transformations: Upper, lower, title, camel, pascal, snake, kebab case
  • Text Analysis: Word count, reading time, complexity analysis, common words
  • Text Styling: Bold, italic, monospace, strikethrough, spoiler, special Unicode styles
  • Encoding/Decoding: Base64, URL, HTML encoding and decoding
  • Text Manipulation: Reverse, clean spaces, wrap text, extract hashtags/mentions/URLs
  • Text Generation: Lorem ipsum, random passwords, random text

๐Ÿ“Š Analytics & Statistics

  • User Analytics: Registration trends, activity patterns, command usage
  • Performance Metrics: Response times, error rates, system performance
  • Command Statistics: Most used commands, usage trends over time
  • Database Insights: User growth, retention rates, feature adoption

๐ŸŽฎ Existing Bot Features

  • AI Integration: GPT, Gemini, Flux, StableDiffusion, LuminAI
  • Downloaders: YouTube (MP3/MP4), APK downloader, Git clone, Play search
  • Anime Content: Neko, Waifu, Konachan images
  • Search Tools: Wikipedia integration
  • Utilities: QR code generation, Pastebin integration
  • NSFW Content: Age-restricted content (where applicable)

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 16.x or higher
  • Telegram Bot Token (from @BotFather)
  • Your Telegram User ID

Installation

  1. Fork and Clone Repository

    git clone https://github.com/RayBen445/Cool-Shot-AI-V2.git
    cd Cool-Shot-AI-V2
  2. Install Dependencies

    npm install
  3. Configure Bot Settings

    Edit set.js with your credentials:

    global.botToken = 'YOUR_TELEGRAM_BOT_TOKEN_HERE'; // Get from @BotFather
    global.ownerId = [YOUR_TELEGRAM_USER_ID]; // Your Telegram user ID
    global.ownerUsername = 'YOUR_USERNAME'; // Your Telegram username
    global.botName = '๐‚๐จ๐จ๐ฅ ๐’๐ก๐จ๐ญ ๐€๐ˆ ๐•2';
    global.timeZone = 'Your/Timezone'; // e.g., 'America/New_York'
  4. Start the Bot

    npm start

๐Ÿ”ง Configuration

Environment Variables

Create a .env file for sensitive data (recommended):

TELEGRAM_TOKEN=your_bot_token_here
OWNER_ID=your_user_id_here
GIFTED_API_KEY=your_api_key_here
MAHER_API_KEY=your_api_key_here

Important Notes

  • Use Your Own Token: Always use ๐‚๐จ๐จ๐ฅ ๐’๐ก๐จ๐ญ ๐€๐ˆ ๐•2's own TELEGRAM_TOKEN
  • No Credential Copying: Never copy tokens from other bots
  • Secure Storage: Keep sensitive data in environment variables

๐Ÿ“– Usage Guide

๐Ÿค– AI Role Management

/role                    # View current role and available options
/setrole <role_name>     # Set AI role (teacher, programmer, creative, etc.)
/roles                   # List all available roles

๐ŸŒ Language Settings

/language               # View current language and options
/setlang <code>        # Set language (en, es, fr, de, it, pt, ru, ja, ko, zh, hi, ar)

๐Ÿ‘จโ€๐Ÿ’ผ Admin Commands (Owner Only)

/admin                  # Open admin control panel
/adminstats            # System statistics
/userinfo <user_id>    # Get user information
/blockuser <user_id>   # Block/unblock user
/premium <user_id>     # Set premium status
/broadcast <message>   # Send broadcast message
/tickets               # View all support tickets

๐ŸŽซ Support System

/ticket                # View your tickets
/createticket          # Create new support ticket
/ticket <id>           # View specific ticket

๐Ÿ”ง Text Utilities

/textutils             # Open text utilities menu
/upper <text>          # Convert to UPPERCASE
/analyze <text>        # Analyze text statistics
/base64encode <text>   # Encode to Base64
/lorem 5               # Generate lorem ipsum (5 sentences)
/password 16           # Generate 16-character password

๐ŸŽฎ General Commands

/menu or /start        # Main menu
/help                  # Command help
/ping                  # Bot response time
/system                # System information
/uptime                # Bot uptime

๐ŸŒŸ New Features Highlights

Multi-Role AI Personalities

๐Ÿค– Default Assistant

General-purpose AI for everyday questions and tasks.

๐Ÿ‘จโ€๐Ÿซ Teacher

Educational tutor that explains concepts with examples and asks follow-up questions.

๐Ÿ‘จโ€๐Ÿ’ป Programmer

Coding expert providing technical solutions, debugging help, and best practices.

๐ŸŽจ Creative Writer

Assists with storytelling, creative content, poetry, and imaginative writing.

๐Ÿ“Š Data Analyst

Helps analyze information, provides insights, and explains complex data.

๐Ÿ˜Š Casual Friend

Friendly companion for relaxed conversations and emotional support.

๐Ÿ‘” Professional

Business assistant for formal communication and professional tasks.

Enhanced User Experience

  • Smart Language Detection: Auto-detects user preferences
  • Contextual Help: Role-specific assistance and suggestions
  • Interactive Menus: Intuitive inline keyboards for easy navigation
  • Real-time Statistics: Live updates on bot usage and performance

๐Ÿ”„ Migration Guide

For ๐‚๐จ๐จ๐ฅ ๐’๐ก๐จ๐ญ ๐€๐ˆ ๐•2 Users

Your existing bot will gain:

  • Multi-role AI system
  • Language support
  • Admin panel
  • Support tickets
  • Text utilities
  • Enhanced analytics

No configuration changes needed - all new features are additive.

For Multi-Role AI Users

To migrate to ๐‚๐จ๐จ๐ฅ ๐’๐ก๐จ๐ญ ๐€๐ˆ ๐•2:

  1. Backup Data: Export your user data and settings
  2. Update Token: Use ๐‚๐จ๐จ๐ฅ ๐’๐ก๐จ๐ญ ๐€๐ˆ ๐•2's TELEGRAM_TOKEN
  3. Configure Settings: Update set.js with your preferences
  4. Import Data: User data structure is compatible
  5. Test Features: Verify all functionality works as expected

Compatibility Notes

  • Database Format: Enhanced with new fields, backward compatible
  • Command Structure: All existing commands remain functional
  • Plugin System: Existing plugins continue to work
  • API Keys: Use your own API keys, don't copy from other bots

๐Ÿ› ๏ธ Development

Adding New Features

The bot uses a modular plugin system. Create new plugins in:

  • /gifted/ai/ - AI-related features
  • /gifted/general/ - General utilities
  • /gifted/tools/ - Utility tools
  • /gifted/admin/ - Admin features

Plugin Structure

let myPlugin = async (m, { Gifted, text, command }) => {
    // Plugin logic here
};

myPlugin.command = ['mycommand', 'alias'];
myPlugin.desc = 'Plugin description';
myPlugin.category = ['category'];
myPlugin.settings = { owner: false, group: false, private: false };

module.exports = myPlugin;

๐Ÿšข Deployment

Heroku

  1. Fork this repository
  2. Connect to Heroku
  3. Set environment variables
  4. Deploy

Render

  1. Connect GitHub repository
  2. Set build command: npm install
  3. Set start command: npm start
  4. Configure environment variables

VPS/Local

# Clone repository
git clone https://github.com/RayBen445/Cool-Shot-AI-V2.git
cd Cool-Shot-AI-V2

# Install dependencies
npm install

# Configure bot
# Edit set.js with your settings

# Start bot
npm start

# Or use PM2 for production
pm2 start index.js --name "cool-shot-ai-v2"

๐Ÿ”’ Security

  • Token Protection: Never share your bot token
  • User Privacy: User data is stored locally and securely
  • Admin Controls: Comprehensive user management and moderation
  • Rate Limiting: Built-in protection against spam and abuse

๐Ÿค Contributing

  1. Fork the repository
  2. Create feature branch (git checkout -b feature/amazing-feature)
  3. Commit changes (git commit -m 'Add amazing feature')
  4. Push to branch (git push origin feature/amazing-feature)
  5. Open Pull Request

๐Ÿ“„ License

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

๐Ÿ™ Credits

  • Original Bot Framework: Base bot functionality and structure
  • Multi-Role AI System: Advanced AI personality system inspiration
  • Professor: Bot framework and utilities
  • Contributors: Everyone who helped improve this bot

๐Ÿ“ž Support

๐Ÿ”„ Updates

Stay updated with the latest features:


ยฉ 2024-2025 ๐‚๐จ๐จ๐ฅ ๐’๐ก๐จ๐ญ ๐€๐ˆ ๐•2 - Enhanced Multi-Role AI Assistant

Advanced Telegram bot with comprehensive AI assistance, administrative tools, and utility features.

About

Prof-Tech Telegram bot project is designed to automate tasks, respond to commands, and integrate with external services or APIs, offering users a robust interactive experience.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • JavaScript 98.6%
  • HTML 1.4%