Skip to content

termuxhexrt/WickPro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🤖 WickPro - Advanced Discord Moderation Bot

Wick se bhi zyada powerful Discord moderation bot!

✨ Features

Core Moderation

  • ✅ Ban/Kick/Mute/Warn system with case tracking
  • ✅ Temporary bans with auto-unban
  • ✅ Warning system with auto-punishment (3 warns = auto mute)
  • ✅ Bulk message deletion with user filtering
  • ✅ Channel lock/unlock/nuke/slowmode

Advanced Systems

  • 🛡️ Anti-Nuke Protection - Auto-ban on mass deletions (3+ actions in 10s)
  • 🤖 AutoMod - Invite filter, caps spam, mention spam detection
  • Verification System - Button-based verification
  • 📊 Mod Stats - Track moderator activity
  • 📋 Case System - Complete moderation history
  • 💾 Backup System - Server backup export

Security Features

  • 🔒 Raid mode (auto-kick new accounts)
  • 🚨 Anti-nuke detection (channels/roles/bans)
  • 🔄 Sticky roles (rejoining members get old roles)
  • ⏱️ Server lockdown with auto-unlock

🚀 Railway Deployment

Step 1: Bot Setup

  1. Discord Developer Portal pe jao
  2. New Application banao
  3. Bot section mein jao aur token copy karo
  4. Privileged Gateway Intents enable karo:
    • ✅ Presence Intent
    • ✅ Server Members Intent
    • ✅ Message Content Intent

Step 2: Railway Setup

  1. Railway.app pe signup karo
  2. New Project → Deploy from GitHub
  3. Environment Variables add karo:
    TOKEN=your_bot_token
    OWNER_ID=your_discord_id
    PREFIX=?
    PORT=3000
    

Step 3: Local Testing (Optional)

# Dependencies install karo
npm install

# .env file banao aur fill karo
cp .env.example .env

# Bot start karo
npm start

📝 Commands List

Moderation Commands

Command Description Usage
?ban Ban user (temp/perm) ?ban @user [time] [reason]
?kick Kick user ?kick @user [reason]
?mute Timeout user ?mute @user [time] [reason]
?unmute Remove timeout ?unmute @user
?warn Warn user ?warn @user [reason]
?warnings Show warnings ?warnings @user
?clearwarn Clear warnings ?clearwarn @user <id|all>
?clear Bulk delete ?clear <amount> [@user]
?lock Lock channel ?lock [#channel] [reason]
?unlock Unlock channel ?unlock [#channel]
?nuke Clone & delete channel ?nuke
?slowmode Set slowmode ?slowmode <seconds> [#channel]

Advanced Moderation

Command Description Usage
?modlogs User mod history ?modlogs @user
?case Case details ?case <id>
?modstats Moderator stats ?modstats [@user]
?raidmode Toggle raid mode ?raidmode <on|off>
?lockdown Server lockdown ?lockdown <time>

Setup Commands

Command Description Usage
?verifysetup Setup verification ?verifysetup
?autorole Set autorole ?autorole @role
?setmodlog Set mod log channel ?setmodlog #channel
?settings View settings ?settings
?backup Create backup ?backup

Info Commands

Command Description Usage
?userinfo User information ?userinfo [@user]
?serverinfo Server information ?serverinfo
?ping Bot latency ?ping
?help Command help ?help [command]

Owner Commands

Command Description Usage
?reload Restart bot ?reload

🛡️ AutoMod Features

AutoMod features ko ?automod command se toggle kar sakte ho (coming soon):

  • Anti-Invite - Discord invites auto-delete
  • Anti-Caps - 70%+ caps messages delete
  • Anti-Mention Spam - 5+ mentions = auto mute
  • Anti-Raid - New accounts auto-kick in raid mode

📊 Database Schema

Bot SQLite database use karta hai with these tables:

  • warnings - User warnings
  • cases - Moderation case history
  • modstats - Moderator statistics
  • settings - Server settings
  • tempbans - Temporary ban tracking
  • stickyRoles - Role persistence
  • antiNuke - Anti-nuke action tracking

🔧 Configuration

Required Permissions

Bot ko ye permissions chahiye:

  • ✅ Manage Roles
  • ✅ Manage Channels
  • ✅ Kick Members
  • ✅ Ban Members
  • ✅ Moderate Members (Timeout)
  • ✅ Manage Messages
  • ✅ Read Message History
  • ✅ Send Messages
  • ✅ Embed Links
  • ✅ View Audit Log

Invite Link

https://discord.com/api/oauth2/authorize?client_id=YOUR_CLIENT_ID&permissions=1099511627774&scope=bot

📈 Railway Health Check

Bot automatically Express server run karta hai on PORT (default 3000):

  • GET / - Bot status
  • GET /health - Health check endpoint

🐛 Troubleshooting

Bot offline hai?

  1. Railway logs check karo
  2. Token sahi hai ya nahi verify karo
  3. Intents enable hai ya nahi check karo

Commands kaam nahi kar rahe?

  1. Bot ko required permissions hai ya nahi check karo
  2. Prefix sahi hai ya nahi verify karo (?settings)
  3. Role hierarchy check karo (bot role sabse upar hona chahiye)

Database errors?

  1. Railway volume mount check karo
  2. Database file permissions verify karo

📝 Notes

  • Anti-Nuke: 3+ dangerous actions in 10 seconds = auto-ban
  • Tempbans: Automatically unban after duration
  • Sticky Roles: Members rejoining get their old roles back
  • Raid Mode: New accounts (< 7 days old) auto-kicked

🤝 Support

Issues ya questions ke liye Discord pe message karo!


Made with ❤️ by WickPro Team

About

discord safety bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors