Logger is a powerful Discord bot meant to give staff members oversight over the various actions taking place in their server. Come talk about me with my creator at Logger's Lounge.
Installation
You are mostly on your own selfhosting this version. Required applications:
- PostgreSQL 11
- Redis
- NodeJS 14+ (14.5.0)
- Setup Postgres and add a superuser (default user works)
- Clone bot repo and enter the created folder
- Copy .env.example into .env
- Fill out all fields in it (even Sentry unless you hotpatch it out)
npm install
node src/miscellaneous/generateDB.js
- Set
ENABLE_TEXT_COMMANDS="true"
in .env node index.js
- Use your prefix to set the bot's commands. If yours is %, then you'd do
%setcmd global
to globally set commands, and%setcmd guild
to quickly set server-specific slash commands
Usage
node index.js
Contributing
Pull requests are welcome as long as it follows the following guidelines:
- Is your idea really one that a large group of moderators would like?
- Is your idea scalable?
- Will your idea cause the bot to hit it's global ratelimit?
- Have you proposed it to piero#5432 in my support server?
If you have done all of the above steps, then open a pull request and I will review it. Style guide and testing will be implemented in a later update.