Skip to content

Repository files navigation

Zyre Moderation Bot

A Discord moderation, auto mod, and community bot built in Python with discord.py.

Zyre Moderation Bot Demo

What It Does

Moderation

  • Slash commands: /ban, /kick, /timeout, /warn, /slowmode, /purge, /nick
  • Easy role management and moderator action logs

Auto Protection

  • Anti Spam: Stops rapid message flooding
  • Anti Invite: Blocks unauthorized Discord invite links
  • Anti Swear: Word filter with automatic warnings
  • Join Filter: Blocks suspicious new accounts or unwanted bots

Server Tools

  • AFK System: Set an AFK message and it notifies anyone who pings you
  • Leveling & XP: Member rank cards and leaderboards
  • Giveaways & Reminders: Timed giveaways and reminder alerts
  • Backups: Saves server roles and channel setups to JSON files

Quick Setup

Requirements

  • Python 3.10+ or Docker
  • Bot token from the Discord Developer Portal with Message Content, Server Members, and Presence intents enabled.

Option 1: Docker (Recommended)

  1. Clone the repo:

    git clone https://github.com/zyrexdz/Zyre-Moderation-Bot.git
    cd Zyre-Moderation-Bot
  2. Copy .env.example to .env and add your bot token:

    cp .env.example .env
  3. Run:

    docker compose up -d

Option 2: Local Install

  1. Clone the repo:

    git clone https://github.com/zyrexdz/Zyre-Moderation-Bot.git
    cd Zyre-Moderation-Bot
  2. Run setup:

    • Windows: Run setup.bat
    • Linux / Mac: Run chmod +x setup.sh && ./setup.sh
  3. Put your bot token and user ID inside .env.

  4. Start the bot:

    python main.py

Config (.env)

DISCORD_TOKEN=your_token_here
BOSS_ID=123456789012345678
COMMAND_PREFIX=/

Permissions

Give the bot Administrator (or Manage Server, Manage Roles, Manage Channels, Kick Members, Ban Members, Moderate Members) so it can moderate without permission errors.


License

MIT

About

Discord moderation and auto mod bot made with discord.py.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages