No description
  • Python 99.2%
  • Dockerfile 0.3%
  • Shell 0.3%
  • Batchfile 0.2%
Find a file
2026-04-07 19:01:31 +02:00
bot Changes to handling timeouts 2026-04-07 19:01:31 +02:00
.env.example feat(scraper): Add SimpCity/SMG media puller with Playwright & Gofile extraction 2026-03-23 22:10:45 +01:00
.gitattributes Initial commit 2025-07-18 15:11:47 +02:00
.gitignore feat(scraper): Add SimpCity/SMG media puller with Playwright & Gofile extraction 2026-03-23 22:10:45 +01:00
CHANGELOG.md Move release notes to dedicated changelog 2026-04-02 12:14:11 +02:00
docker-compose.yml Fix typo in .env.example and update docker-compose.yml 2025-07-19 12:47:34 +02:00
Dockerfile Initial project structure and bot implementation 2025-07-18 16:57:40 +02:00
LICENSE Create LICENSE 2025-07-18 15:31:40 +02:00
main.py feat(scraper): Add SimpCity/SMG media puller with Playwright & Gofile extraction 2026-03-23 22:10:45 +01:00
README.md Move release notes to dedicated changelog 2026-04-02 12:14:11 +02:00
requirements.txt feat(scraper): Add SimpCity/SMG media puller with Playwright & Gofile extraction 2026-03-23 22:10:45 +01:00
SETUP.md Mod suggestion for my lazy ass 2025-07-19 16:07:01 +02:00
setup_login.py feat(scraper): Add SimpCity/SMG media puller with Playwright & Gofile extraction 2026-03-23 22:10:45 +01:00
start.bat Initial project structure and bot implementation 2025-07-18 16:57:40 +02:00
start.sh Initial project structure and bot implementation 2025-07-18 16:57:40 +02:00
start_service.sh Create a start service for systemctl on linux 2025-07-22 21:08:15 +00:00

Project Bonk - Discord Moderation Bot

A comprehensive Discord moderation bot built with discord.py, featuring slash commands and advanced moderation capabilities.

Features

  • 🔨 Moderation Commands: Ban, kick, timeout, warn, and more
  • 🛡️ Auto-moderation: Spam detection, profanity filtering
  • 📊 Logging: Comprehensive audit logs
  • 📋 Case Management: Track moderation actions
  • 🔧 Configuration: Customizable per-server settings
  • 🎯 Slash Commands: Modern Discord command interface
  • 🏆 Moderator Suggestions: AI-powered suggestions for potential moderators based on activity and clean record

Setup

Prerequisites

  • Python 3.8 or higher
  • A Discord application with bot token
  • Discord server with appropriate permissions

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/project-bonk.git
    cd project-bonk
    
  2. Create a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows: venv\Scripts\activate
    
  3. Install dependencies:

    pip install -r requirements.txt
    
  4. Configure environment variables:

    • Copy .env.example to .env
    • Fill in your bot token and other required values
  5. Start the bot:

    python main.py
    

Configuration

Create a .env file in the root directory with the following variables:

DISCORD_TOKEN=your_bot_token_here
GUILD_ID=your_server_id_here (optional, for guild-specific commands)
LOG_LEVEL=INFO

Commands

Moderation Commands

  • /ban - Ban a user from the server
  • /kick - Kick a user from the server
  • /timeout - Timeout a user
  • /warn - Warn a user
  • /unwarn - Remove a warning
  • /warnings - View user warnings
  • /purge - Delete multiple messages
  • /lock - Lock a channel
  • /unlock - Unlock a channel

Utility Commands

  • /userinfo - Get information about a user
  • /serverinfo - Get server information
  • /ping - Check bot latency

Development

Running in Development Mode

python main.py

Code Style

This project uses Black for code formatting and flake8 for linting:

pip install black flake8
black .
flake8 .

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Run tests and linting
  5. Submit a pull request

License

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

Changelog

See CHANGELOG.md for release history.

Support

For support, please open an issue on GitHub or contact the maintainers.