Gatekeeper discord bot
Setup
To invite the bot click this link (or the image above) as the server owner. Invite the bot to the server of your choice and, if necessary, promote it to allow for administrative tasks.
Usage
Local setup
Dependencies
If you want to run your own instance of the bot the following packages are required:
- gcc
- autoconf
- libtool
- build-essential
- make
- automake
- nodejs >=10.16.0
- yarn
- postgres >=11.5
- node-pg-migrate
- pg
Make sure to create the gatekeeper database and run the migration to create the tables.
postgres=# CREATE DATABASE gatekeeper;
CREATE DATABASE
postgres=# \q
git clone https://github.com/Kruhlmann/gatekeeper
cd gatekeeper
yarn install
yarn run upgrade
You must rename config.json.example to config.json
and fill it in with the required details.
Environment variables
GATEKEEPER_DB_USR
postgres database userGATEKEEPER_DB_PWD
postgres database user passwordGATEKEEPER_DB_NAM
postgres database nameGATEKEEPER_DISCORD_TOKEN
discord API token