sohamdoescode / discord-modmail

Simple modmail bot for Discord servers that is easy to set-up and run yourself!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Discord Modmail Bot

Simple modmail bot for Discord servers, which is easy to set up and run yourself

IMPORTANT NOTICE


I highly recommend that you DO NOT use this as of now as its filled with bugs. I will probably make a rewrite sometime :)

Requirements

💠 node.js
💠 mongoDB pass
Dont know how to get a mongoDB pass?-> Click HERE (Thanks to DashCruft)

Running the Bot Yourself

Step 1 : Clone this repository
Step 2 : Head over to config directory and open up the settings.json file
Step 3 : Fill in all the necessary details (stated there) and save the file
Step 4 : Run npm i in the console and all the other dependencies should be installed
Step 5 : Run node . OR node index.js and your bot should be up and working!
Note : In order to keep the bot running 24x7, you may host it on Repl.it, Glitch or Heroku, but a VPS is recommended

Commands

Default prefix: !
!reply OR !r : Replies to a thread with the specified (SUPPORT TEAM ONLY)
!close : Closes a thread with a 10 seconds timeout

Pre-defined Snippets

These snippets come in handy while handling ModMails. When executed (with !), the corresponding response is triggered and sent to the thread author.
Snippets and their replies :
hi: "Hi there! Thank you for contacting our staff team. How may we help you today?"
transferred: "We have notified the respective department regarding this thread. They will be getting back to you as soon as they can"
reported: "Thank you for bringing this to our attention. We have started an investigation and needed action will be taken soon"
morehelp: "Is there anything else we can help you with today?"
noreply: "This is a gentle reminder that this thread will be closed if you do not reply to it within the next 24 hours"

Example Usage !hi will make the bot reply "Hi there! Thank you for contacting our staff team. How may we help you today?" to the thread author.

More Help


Made with ♥️ by Soham#7975 (Discord username)
Please don't add me on Discord for issues regarding this

About

Simple modmail bot for Discord servers that is easy to set-up and run yourself!

License:MIT License


Languages

Language:JavaScript 100.0%