Go to file
Vylpes 1b1a070cfd
Feature/66 add different commands per server (#122)
* Add ability for server exclusive commands

* Add MankBot server-exclusive commands

* Add lobby entity to database

* Add documentation
2022-04-09 14:11:06 +01:00
.github Feature/12 create tests (#102) 2022-01-30 17:03:36 +00:00
.gitlab Update default.md 2021-01-15 18:15:44 +00:00
data Feature/48 database (#114) 2022-03-29 18:19:54 +01:00
docs Feature/66 add different commands per server (#122) 2022-04-09 14:11:06 +01:00
src Feature/66 add different commands per server (#122) 2022-04-09 14:11:06 +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.template Feature/48 database (#114) 2022-03-29 18:19:54 +01:00
package.json Feature/48 database (#114) 2022-03-29 18:19:54 +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 Feature/48 database (#114) 2022-03-29 18:19:54 +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.