Go to file
Ethan Lane f5f87a52dc
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
Update drone.yml
2023-02-03 17:55:10 +00:00
.github Remove testing from deployment scripts 2022-09-06 19:29:16 +01:00
.gitlab Update default.md 2021-01-15 18:15:44 +00:00
data Update MankBot rules to mention me (#203) 2022-10-16 15:10:48 +01:00
database/3.1/1662399171315-CreateBase/Up Feature/182 setup actions (#186) 2022-09-06 19:24:40 +01:00
docs v3.0 (#145) 2022-04-24 14:46:37 +01:00
scripts Update scripts 2022-12-27 15:22:11 +00:00
src Fix not having a link set in the config crashing the bot 2023-01-28 14:53:23 +00:00
tests v3.0 (#145) 2022-04-24 14:46:37 +01:00
.dev.env Fix not having a link set in the config crashing the bot 2023-01-28 14:53:23 +00:00
.dockerignore v3.0 (#145) 2022-04-24 14:46:37 +01:00
.drone.yml Update drone.yml 2023-02-03 17:55:10 +00:00
.gitignore v3.0 (#145) 2022-04-24 14:46:37 +01:00
.gitlab-ci.yml VylBot App 21.0.0 2021-02-17 18:12:45 +00:00
.prod.env Fix not having a link set in the config crashing the bot 2023-01-28 14:53:23 +00:00
.stage.env Fix not having a link set in the config crashing the bot 2023-01-28 14:53:23 +00:00
docker-compose.prod.yml Feature/182 setup actions (#186) 2022-09-06 19:24:40 +01:00
docker-compose.stage.yml Feature/182 setup actions (#186) 2022-09-06 19:24:40 +01:00
docker-compose.yml Feature/182 setup actions (#186) 2022-09-06 19:24:40 +01:00
jest.config.json v3.0 (#145) 2022-04-24 14:46:37 +01:00
jest.setup.js v3.0 (#145) 2022-04-24 14:46:37 +01:00
ormconfig.dev.json Feature/182 setup actions (#186) 2022-09-06 19:24:40 +01:00
ormconfig.prod.json Feature/182 setup actions (#186) 2022-09-06 19:24:40 +01:00
ormconfig.stage.json Feature/182 setup actions (#186) 2022-09-06 19:24:40 +01:00
package.json Update random-bunny to v2.0.5 2023-02-01 17:33:13 +00:00
README.md v3.0 (#145) 2022-04-24 14:46:37 +01:00
renovate.json Update 'renovate.json' 2022-12-28 18:42:22 +00:00
tsconfig.json v3.0 (#145) 2022-04-24 14:46:37 +01:00
yarn.lock Update random-bunny to v2.0.5 2023-02-01 17:33:13 +00:00

VylBot App

Discord bot for Vylpes' Den Discord Server.

Installation

Download the latest version from the releases page.

Copy the config template file and fill in the strings.

Requirements

  • NodeJS v16
  • Yarn

Usage

Install the dependencies and build the app:

yarn install
yarn build

Setup the database (Recommended to use the docker-compose file)

docker-compose up -d

Copy and edit the settings files

cp .env.template .env
# Edit the .env file

cp ormconfig.json.template ormconfig.json
# Edit the ormconfig.json file

NOTE: Make sure you do not check in these files! These contain sensitive information and should be treated as private.

Start the bot

yarn start

Alternatively, you can start the bot in development mode using:

yarn start --dev

Dev mode ensures that the default prefix is different to the production mode, in case you have both running in the same server.