In order for you to view your selfhosted logs, you have to deploy this application. Before you deploy the application, create a config var named MONGO_URI
and put your MongoDB connection URI from the previous section into the value slot. Take the url of this app after you deploy it and input it as a config var LOG_URL
in the modmail bot app.
You can update the logviewer in your Heroku account whenever changes are made to this repo.
If you didn't fork this repo before
Fork the repo by clicking the Fork button at the top right of this page (must be on desktop site). Then on your Heroku account, go to the log viewer application, Deploy tab, and connect the repo named yourusername/logviewer
. Do a manual deploy of the master branch.
If you forked this repo before
Click here to create a new pull request to your fork. Select compare across forks, make the base repository yourusername/logviewer
and ensure the branch is set to master. Put any title you want and create the pull request. On the page that comes after this, merge the pull request.
You then want to go to your log viewer application in Heroku, connect your logviewer fork via the Deploy tab and deploy the master branch.
You can turn on auto-deploy for the master branch if you don't want to go through the process of logging into Heroku and deploying the branch every time changes to the repo are made in the future.
Discord oauth2 support is a premium feature, only available to Patrons.
If you can make improvements in the design and presentation of logs, please make a pull request with changes.