No description
Find a file
2022-04-23 18:24:37 +01:00
.github Update bot to discord.js v13 (#125) 2022-04-14 18:01:16 +01:00
.gitlab Update default.md 2021-01-15 18:15:44 +00:00
data Add setup command for lobby (#123) 2022-04-10 13:29:57 +01:00
docs Feature/66 add different commands per server (#122) 2022-04-09 14:11:06 +01:00
src Change parsing to not crash if invalid 2022-04-23 18:24:37 +01:00
tests Feature/48 database (#114) 2022-03-29 18:19:54 +01:00
.dockerignore Containerise bot (#107) 2022-02-05 21:09:27 +00:00
.env.template Feature/48 database (#114) 2022-03-29 18:19:54 +01:00
.gitignore Feature/48 database (#114) 2022-03-29 18:19:54 +01:00
.gitlab-ci.yml VylBot App 21.0.0 2021-02-17 18:12:45 +00:00
docker-compose.yml Feature/48 database (#114) 2022-03-29 18:19:54 +01:00
Dockerfile Containerise bot (#107) 2022-02-05 21:09:27 +00:00
jest.config.json Feature/48 database (#114) 2022-03-29 18:19:54 +01:00
jest.setup.js Feature/12 create tests (#102) 2022-01-30 17:03:36 +00:00
ormconfig.json.dev.template Change parsing to not crash if invalid 2022-04-23 18:24:37 +01:00
ormconfig.json.template Change parsing to not crash if invalid 2022-04-23 18:24:37 +01:00
package.json Update bot to discord.js v13 (#125) 2022-04-14 18:01:16 +01:00
README.md Feature/66 add different commands per server (#122) 2022-04-09 14:11:06 +01:00
tsconfig.json Feature/48 database (#114) 2022-03-29 18:19:54 +01:00
yarn.lock Update bot to discord.js v13 (#125) 2022-04-14 18:01:16 +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.