You can host modmail bot for your server on replit.com 24/7 for free without credit card! Just follow this guide. Modmail bot wiki: https://github.com/kyb3r/modmail/wiki
- Create account on https://repl.it/signup
- Create a bot from Discord dev portal and invite it to your Discord server- guide
- Create MongoDB Atlas database - guide
We will need MongoDB connection string.
-
Fork logviewer repl here
-
Go to Secrets tab and add there:
MONGO_URI
- Your Mongo connection URI
-
Click on Run button and wait!
-
Copy your logviewer's url, you will need it later
-
Fork modmail repl here
-
Go to Secrets tab and add there:
TOKEN
- your bot's tokenGUILD_ID
- ID of your ServerOWNERS
- your own Discord ID, if there are multiple owners, separate them by a comma like this:180314310298304512, 355790471219511297, 325012556940836864
.CONNECTION_URI
- your Mongo connection URI from the previous sectionLOG_URL
- URL of your logviewer repl (https://logviewer.<your_username>.repl.co
)disable_autoupdates
-on
(This will prevent the bot from making auto updates, if you skip this, then your bot will be broken. If there is a new update, please fork my repl again and fill the same Secrets and then delete your old repl and rename new repl to the same name as it was before. You can ping me on Pinglik Support server if I haven't updated my repl.)
-
Click on Run button and wait
-
Copy your modmail bot's webserver url
-
🎉 Your modmail bot should be online now, try to run
?setup
command on your Discord server.
If you will skip this step your modmail will go offline after 30 minutes of inactivity (when you leave replit project's page). So we will need logviewer's url and modmail webserver's url
- You can use Uptime robot. It will ping your replit projects to keep them online for free.
Uptime Robot: Click here
If you need help you can open new modmail support thread on BubbleGum Cafe Server and I will help you.