No description
Ethan Lane
2d51b83d77
Some checks failed
continuous-integration/drone/push Build is failing
# Description - Fix the invalid config value not showing properly - When there is no server value or default value, it will show it as `<NONE>` #315 ## Type of change Please delete options that are not relevant. - [x] Bug fix (non-breaking change which fixes an issue) # How Has This Been Tested? Please describe the tests that you ran to verify the changes. Provide instructions so we can reproduce. Please also list any relevant details to your test configuration. # Checklist - [x] My code follows the style guidelines of this project - [ ] I have performed a self-review of my own code - [ ] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that provde my fix is effective or that my feature works - [ ] New and existing unit tests pass locally with my changes - [x] Any dependent changes have been merged and published in downstream modules Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/vylbot-app/pulls/336 Co-authored-by: Ethan Lane <ethan@vylpes.com> Co-committed-by: Ethan Lane <ethan@vylpes.com> |
||
---|---|---|
.gitea | ||
.github | ||
data | ||
database/3.1/1662399171315-CreateBase/Up | ||
docs | ||
scripts | ||
src | ||
tests | ||
.dev.env | ||
.dockerignore | ||
.drone.yml | ||
.gitignore | ||
.gitlab-ci.yml | ||
.prod.env | ||
.stage.env | ||
docker-compose.prod.yml | ||
docker-compose.stage.yml | ||
docker-compose.yml | ||
jest.config.json | ||
jest.setup.js | ||
LICENSE | ||
package.json | ||
README.md | ||
renovate.json | ||
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.