My private mod/util/misc bot for discord, mainly used for r/ut and sometimes beta/staging for RobotOtter
-
Create a Postgres DB (Postgres is required because of use of json/array storage)
-
Create DB user for the bot
-
Run the table creations scripts under
sql/create
-
git clone
-
npm i
-
Set the following env vars:
BOT_TOKEN
GITHUB_TOKEN
(To be replaced withGD_TOKEN
soon tm)DB_HOST
DB_PORT
DB_DATABASE
DB_USER
DB_PASSWORD
DB_POKEMON_DATABASE
(You can just reuse the same DB/user/pass as the rest, unless you want a dedicated pokemon database)DB_POKEMON_USER
DB_POKEMON_PASSWORD
-
Should be ready to go