MailHook icon indicating copy to clipboard operation
MailHook copied to clipboard

Modern modmail for modern Discord servers.

Movin to new modmail project

new modmail

MailHook

Modern modmail for modern Discord servers.

🎉 Features

  • Completely customizable from the dashboard.
  • Full slash commands and context menu commands support.
  • Multiprefix support (upto 10 prefixes).
  • Per guild configuration.
  • Fast response time.

💻 How to selfhost?

  1. Clone the repo:

    $ git clone https://github.com/DeveloperJosh/MailHook
    
  2. Install Modules.

    # Linux/macOS
    $ python3 -m pip install -r requirements.txt
    
    # Windows
    $ py -3 -m pip install -r requirements.txt
    
  3. Setup the config.py file.

  4. Setup the a .env file:

    DISCORD_BOT_SECRET=Token here
    DATABASE_LINK=Mongo link
    

    MongoDB - https://www.mongodb.com/
    Discord bot token - https://discord.com/developers/applications

  5. Run the bot:

    # Linux/MacOS
    $ python3 main.py
    
    # Windows
    $ py main.py
    
  6. Enjoy:

🤝 Selfhosting agreement

  • You are not allowed to remove the names in the credit command.
  • You are not allowed to use the name or the logo of the original bot.
  • If you want any ideas/commands added to the bot please tell me here
  • If you need help with the setup join our discord

🖥️ Commands

/setup - Setup modmail for your server.
/edit-config - Edit the current modmail configuration.
/show-config - Get the current config.
/start-ticket - Start a ticket with a user.
/close-ticket - Close this ticket.
/modmail-tickets - View all the current modmail tickets.
/anon-reply - Reply anonymously to a ticket.

👀 Preview

🔗 Useful Links