Kruhlmann / gatekeeper

Fight club CAPTCHA bot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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
  • 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 user
  • GATEKEEPER_DB_PWD postgres database user password
  • GATEKEEPER_DB_NAM postgres database name
  • GATEKEEPER_DISCORD_TOKEN discord API token

About

Fight club CAPTCHA bot

License:GNU General Public License v3.0


Languages

Language:TypeScript 90.1%Language:JavaScript 9.6%Language:Dockerfile 0.3%