Open Source & Free

Discord Role Guardian
Protect & Manage Your Server

A powerful open-source Discord bot featuring reaction roles, welcome/leave messages, leveling system, ticket support, and scheduled messages. Self-host with Docker or add directly to your server.

14+
Slash Commands
6
Core Systems
MIT
License
24/7
Uptime Ready

Powerful Features

Everything you need to manage and engage your Discord community

Reaction Roles
Let members self-assign roles by reacting to messages. Clean embeds with only title and description. Easy setup with /setup-reaction-roles command.
Button Roles
Interactive button-based role assignment with 4 color styles. Supports up to 25 buttons with toggle functionality and DM notifications.
Welcome Messages
Greet new members with personalized 'Welcome [Username]!' messages. Optional rules and role channel mentions. Clean embeds without extra fields.
Leave Messages
Track departing members with goodbye messages. Fully customizable templates with clean embeds without footers.
Leveling System
Engage your community with XP tracking, level roles, ranks, and leaderboards.
Ticket System
Support ticket management with categories, transcripts, and staff controls.
Scheduled Messages
Automate announcements with one-time or recurring scheduled messages.
Role Management
Advanced role management with level-based auto-roles and permission controls.
Easy Setup
Simple slash commands for configuration. No coding required. Works instantly.

Slash Commands

Easy-to-use slash commands for all bot features

CommandDescriptionPermission
/setup-reaction-rolesConfigure reaction roles on a messageAdmin
/remove-reaction-rolesRemove reaction role configurationAdmin
/setup-button-rolesCreate interactive button-based role assignmentAdmin
/remove-button-rolesRemove button role configuration from a messageAdmin
/setup-welcomeSet up welcome messages for new membersAdmin
/setup-leaveConfigure leave/goodbye messagesAdmin
/setup-levelingEnable and configure the leveling systemAdmin
/add-level-roleAdd auto-role rewards for levelsAdmin
/rankCheck your current level and XPPublic
/leaderboardView server XP leaderboardPublic
/setup-ticketConfigure the ticket support systemAdmin
/ticket-statsView ticket statisticsAdmin
/schedule-messageSchedule one-time or recurring messagesAdmin
/list-scheduledList all scheduled messagesAdmin
/remove-scheduledCancel a scheduled messageAdmin
/resetReset bot configurations for this serverAdmin

Quick Installation

Get started in under a minute. No coding required.

01
Add the Bot
Click the button below to invite Discord Role Guardian to your server with necessary permissions.
02
Configure Features
Use slash commands like /setup-welcome, /setup-leveling to enable features you want.
03
You're Ready!
The bot is now protecting and managing your server. Customize settings anytime.

Self Host Your Instance

Full control over your bot. Deploy with Docker or run from source.

Docker Deployment
The fastest way to deploy. Requires Docker installed on your system.

1. Pull the Docker image

docker pull ghcr.io/nayandas69/discord-role-guardian:latest

2. Run the container

docker run -d \
  --name discord-role-guardian \
  -e DISCORD_TOKEN=your_token_here \
  -e CLIENT_ID=your_client_id \
  -v bot-data:/app/data \
  ghcr.io/nayandas69/discord-role-guardian:latest

3. Or use Docker Compose (recommended)

# docker-compose.yml
version: '3.8'
services:
  bot:
    image: ghcr.io/nayandas69/discord-role-guardian:latest
    environment:
      - DISCORD_TOKEN=your_token_here
      - CLIENT_ID=your_client_id
    volumes:
      - bot-data:/app/data
    restart: unless-stopped

volumes:
  bot-data:

Requirements

  • Node.js 18.0.0 or higher
  • Discord Bot Token from Discord Developer Portal
  • Application Client ID
  • Docker (optional, for containerized deployment)

Get in Touch

Have questions, suggestions, or need help? We're here for you.

Discord Server
Join our community for support, updates, and discussions.
Join Server
Email
For business inquiries or direct support.
Send Email
GitHub
Star the repo, contribute, or report issues.
View Repository
Report Issues
Found a bug? Open an issue on GitHub.
Report Bug