Go to file
Vylpes 514be692fd
150 assignable roles should be its own table to prevent limitations on length (#158)
* Add entity

* Update role config command to use new entity

* Update role command to use new entity

* Remove legacy code from config command
2022-05-14 14:59:32 +01:00
.github v3.0 (#145) 2022-04-24 14:46:37 +01:00
.gitlab Update default.md 2021-01-15 18:15:44 +00:00
data 150 assignable roles should be its own table to prevent limitations on length (#158) 2022-05-14 14:59:32 +01:00
docs v3.0 (#145) 2022-04-24 14:46:37 +01:00
src 150 assignable roles should be its own table to prevent limitations on length (#158) 2022-05-14 14:59:32 +01:00
tests v3.0 (#145) 2022-04-24 14:46:37 +01:00
.dockerignore v3.0 (#145) 2022-04-24 14:46:37 +01:00
.env.template Change lobby command to error upon making a duplicate lobby channel (#154) 2022-05-10 18:15:40 +01: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
docker-compose.yml v3.0 (#145) 2022-04-24 14:46:37 +01:00
Dockerfile v3.0 (#145) 2022-04-24 14:46:37 +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.json.dev.template v3.0 (#145) 2022-04-24 14:46:37 +01:00
ormconfig.json.template v3.0 (#145) 2022-04-24 14:46:37 +01:00
package.json 150 assignable roles should be its own table to prevent limitations on length (#158) 2022-05-14 14:59:32 +01:00
README.md v3.0 (#145) 2022-04-24 14:46:37 +01:00
tsconfig.json v3.0 (#145) 2022-04-24 14:46:37 +01:00
yarn.lock Merge pull request #146 from Vylpes/dependabot/npm_and_yarn/minimist-1.2.6 2022-04-24 14:54:37 +01: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.