Skip to content

Latest commit

 

History

History
57 lines (42 loc) · 1.83 KB

README.md

File metadata and controls

57 lines (42 loc) · 1.83 KB

Gatekeeper discord bot

Discord Server Build Status Maintainability

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
  • npm
  • postgres >=11.5

Make sure to create the gatekeeper database.

postgres=# CREATE DATABASE gatekeeper;
CREATE DATABASE
postgres=# \q
git clone https://github.com/Kruhlmann/gatekeeper
cd gatekeeper
npm install
npm 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 user
  • GATEKEEPER_DB_PWD postgres database user password
  • GATEKEEPER_DB_NAM postgres database name
  • GATEKEEPER_DISCORD_TOKEN discord API token