Skip to content

A sophisticated Discord bot that handles user support through direct messages, creating a seamless communication bridge between users and staff without requiring users to join your server.

Notifications You must be signed in to change notification settings

levsimp/Modmail-Discord-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Discord ModMail Bot - Advanced Ticket System

Python Discord.py License

πŸ”₯ Features

  • Automatic Ticket Creation: When users DM the bot, it automatically creates a private staff-only channel
  • Two-Way Communication: All messages are forwarded between users and staff seamlessly
  • DM-Based System: Users communicate entirely through DMs - no need to join your server!
  • Secure Staff Channels: Ticket channels are private and only accessible to staff members
  • Professional Closure Notifications: Users receive embeds showing which staff member closed their ticket
  • Ticket History: Complete message history tracking for every ticket
  • Easy Closure: Simple /close command to resolve tickets
  • File Attachment Support: Handles images and files in both directions
  • Professional Embeds: Beautiful, organized message formatting

πŸš€ How It Works

  1. User DMs the bot with their question or issue
  2. Bot automatically creates a private ticket channel for staff
  3. Staff respond in the ticket channel, and the bot forwards messages to the user via DM
  4. User responds through DMs, and messages appear in the ticket channel
  5. Staff close tickets with /close when resolved
  6. User receives professional notification showing which staff member closed their ticket

πŸ“‹ Commands

  • /close [channel] - Close a ticket (staff only)
  • /help - Show help information about the bot

πŸ› οΈ Setup

1. Create a Discord Application

2. Configure the Bot

# Get these values from your Discord server
GUILD_ID = 123456789  # Your server ID
STAFF_ROLE_ID = 123456789  # Staff role ID
CATEGORY_ID = 123456789  # (Optional) Ticket category ID

About

A sophisticated Discord bot that handles user support through direct messages, creating a seamless communication bridge between users and staff without requiring users to join your server.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages