Skip to content

An advanced Modmail system made by Kyran TT-TTG and Utilised in the main Moderation bot for TT-TTG World

License

Notifications You must be signed in to change notification settings

TT-TTG-Development/KyransModmail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

K-Modmail

K-Modmail is an open-source Discord modmail bot designed for individual servers, with a quick and easy setup process that should get your new modmail bot running in no time!

NOTE: This is a version intended for my Discord Server, So change the code to your liking!

mmChat

Above: Closed Pre-Release version, some colors/text have been heavily edited for the final release.

Installation

Requirements

  • Node.JS installed

  • Discord.JS v12.5.3 library installed (Discord.JS v12.5.3 will soon be discontinued so update it to v13 if you want!)

  • A Discord Bot Application*

  • A main server, and a modmail server with a logging category and channel, and a tickets/modmail category (and their respective IDs)

  • A text editor capable of editing JSON files (default windows notepad works just fine)

*The bot must have PRESENCE INTENT and SERVER MEMBERS INTENT enabled, or else the script will error. It should also be given administrator permissions in the OATH2 category (BOT\BOT PERMISSIONS)

Getting Token: exampleImage0 Setting Privileged Gateway Intents: exampleImage1

Setup

  1. Download the files (if you are hosting on a VPS or some other type of server, upload them to that)

  2. Replace the following with your specific bot/server info in config.json

{
    "token":"YOUR BOT TOKEN HERE",

    "ticketCategoryID":"THE ID OF THE CATEGORY FOR TICKETS TO BE OPENED (MUST BE IN MODMAIL SERVER!)",

    "modmailServerId":"ID OF THE MODMAIL SERVER",

    "thumb":"LINK TO THE IMAGE TO BE USED FOR MODMAIL EMBEDS",

    "modmailLogChannelId":"ID OF THE LOGGING CHANNEL",

    "mainServerId":"ID OF THE MAIN SERVER"



}
  1. Once you have entered all the information above, run the modmail.js file.

Usage

Commands:

[PREFIX IS !! ]

reply : Reply to a ticket

areply : Reply to a ticket anonymously

close : Close the ticket that you are currently responding to

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

If there are any major issues that you need fixed ASAP, join the support server:

[WIP, will be added soon!]

For Help Join My Discord Server

Releases

No releases published

Packages

No packages published