You can host Modmail bot bot on Railway for free without credit card! On railway you get $5 credit monthly for free (more info about their pricing here). If you use your free credit, your projects will be paused and you need to re-deploy them next month when you get credit. You can also upgrade to Developer plan by adding your credit card details (you will be billed only when your usage is more than $10). You don't have to add your credit card tho. Railway offers MongoDB plugin or you can get MongoDB from Atlas.
Modmail bot wiki: https://github.com/kyb3r/modmail/wiki
- Create account on railway by clicking here and login with Github.
- Create a bot from Discord dev portal and invite it to your Discord server- guide
- Get MongoDB database, you have 2 options - use Railway MongoDB plugin or MongoDB Atlas:
- Go here and click deploy
- You can find your MongoDB Connection URI here, copy it.
- Here is the official guide how to create MongoDB database on Atlas
After you have your MongoDB connection URI from Railway or Atlas, continue:
- Click on the deploy button below and choose where repo should be created for it.
- Fill in the Environment Variables.
- Click deploy and wait.
- After it's deployed, you can find URL to the logviewer here:
Copy it, you will need it later. You can also link your own domain if you want.
- Click on the deploy button below and choose where repo should be created for it.
-
Fill in the Environment Variables. Enter URL to your logviewer app with protocol and without / at the end, like this:
-
Click deploy and wait.
-
🎉 Your modmail bot should be online now, try to run
?setup
command on your Discord server.
If you need help you can join Pinglik Support Server and ask for help in #💛|coding-help-support
channel and we will help you 😉
If you would like to support me:
Guide how to host this bot on Replit: here
k