Discord modmail bot that uses mongo DB. Get in touch with the server members without having to actually do ;) The user sends a message to the bot and the bot makes the rest
The setup of this bot is very simple, just follow the steps
- Create an application in Discord Developer Portal
- Create a new application and copy the token
- Login or register into Mongo DB
- Create a cluster and complete the configuration
- Get the connection url by pressing on
connect < connect your application
Note: Go to discord settings < advanced < enable Developer mode
- Go to the server the bot will be in
- Right click on the sevrer's name and copy the ID
- Create a category where the tickets will be created in
- Copy the category ID
- Create a logs channel and copy the ID
- go to the server the bot is in
- Add 3 emojis (blocked, correct, paused) images below
- Type \ and the emoji
- You will get something like <a:name:123456678>
- copy them
.env file
- Paste the token and the mongoDB url into
example.env
- Rename
example.env
to.env
config.json file (inside json folder)
- Fill the parameters with the IDs that you copied in the previous steps
emojis.json (inside json folder)
- Paste each ID in it's respective slot
- Open the console and run
npm install
- Type
node .