Skip to content

phantom541/My-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Dragon WhatsApp Bot - SECURITY FIXED โœ…

A feature-rich WhatsApp bot with dragon-themed gaming features. CRITICAL SECURITY VULNERABILITIES HAVE BEEN FIXED.

๐Ÿšจ Security Fixes Applied

โœ… Removed hardcoded API keys - No longer exposed in code โœ… Fixed axios DoS vulnerability - Updated to secure version โœ… Added environment variable protection - Secrets now properly managed โœ… Protected auth files - WhatsApp sessions secured โœ… Created secure .gitignore - Prevents accidental exposure

๐Ÿ› ๏ธ Setup Instructions

1. Install Dependencies

npm install

2. Configure Environment

# Copy the example file
cp config.example.env .env

# Edit with your API keys
nano .env

3. Required API Keys

You need to obtain these API keys and add them to your .env file:

  • CLOUDINARY_CLOUD_NAME, CLOUDINARY_API_KEY, CLOUDINARY_API_SECRET
  • GIPHY_API_KEY
  • UNSPLASH_ACCESS_KEY
  • BOT_OWNER_NUMBER (your WhatsApp number)

4. Run the Bot

npm start

๐ŸŽฎ Features

  • Dragon collection and battles
  • Card trading system
  • Guild management
  • Tournament system
  • Dungeon exploration
  • Quest system with 100+ quests
  • Leaderboards and achievements

๐Ÿ”’ Security

  • All API keys use environment variables
  • Sensitive files protected by .gitignore
  • Regular security audits
  • No hardcoded secrets

๐Ÿ“ Commands

Use %help in WhatsApp to see all available commands.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •