No description
Vylpes
aa070bb7a7
* Change lobby command to error upon making a duplicate lobby channel (#154) * Update lobby command to give proper errors if role or channel id cannot be found (#156) * Add bunny command back (#157) * 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 * Update .env template to current date |
||
---|---|---|
.github | ||
.gitlab | ||
data | ||
docs | ||
src | ||
tests | ||
.dockerignore | ||
.env.template | ||
.gitignore | ||
.gitlab-ci.yml | ||
docker-compose.yml | ||
Dockerfile | ||
jest.config.json | ||
jest.setup.js | ||
ormconfig.json.dev.template | ||
ormconfig.json.template | ||
package.json | ||
README.md | ||
tsconfig.json | ||
yarn.lock |
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.