No description
Find a file
Ethan Lane 93ef8a8ae7
All checks were successful
Deploy To Stage / build (push) Successful in 32s
Deploy To Stage / deploy (push) Successful in 16s
Split up moon counter from the database (#489)
# Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.

- Create a separate moon counter to track how many moons a user has
- This is so we can start a user at a specific counter
- Added to the list command a counter to specify how many moons aren't being tracked with the bot

#300

## Type of change

Please delete options that are not relevant.

- [x] New feature (non-breaking change which adds functionality)

# 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

- [ ] 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
- [ ] My changes generate no new warnings
- [ ] I have added tests that provide my fix is effective or that my feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream modules

Reviewed-on: #489
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2025-02-03 17:42:11 +00:00
.forgejo/workflows Update prod deployment script to add --delete to rsync job 2025-01-24 19:16:53 +00:00
.gitea Fix typo in PR template (#367) 2023-11-10 18:22:53 +00:00
.github Remove .github folder 2023-07-14 16:11:31 +01:00
data Remove the mute and unmute commands (#462) 2024-08-10 15:15:19 +01:00
database Split up moon counter from the database (#489) 2025-02-03 17:42:11 +00:00
docs v3.0 (#145) 2022-04-24 14:46:37 +01:00
scripts Switch to TypeORM's DataSource API (#299) 2023-05-26 17:59:22 +01:00
src Split up moon counter from the database (#489) 2025-02-03 17:42:11 +00:00
tests Split up moon counter from the database (#489) 2025-02-03 17:42:11 +00:00
.dockerignore v3.0 (#145) 2022-04-24 14:46:37 +01:00
.drone.yml Update drone deployment 2024-04-19 18:20:01 +01:00
.env.example Add auto kick functionality (#502) 2025-01-03 17:47:16 +00:00
.gitignore WIP: Start of implementing a link-only mode 2024-10-12 13:45:41 +01:00
.gitlab-ci.yml VylBot App 21.0.0 2021-02-17 18:12:45 +00:00
CODE_OF_CONDUCT.md Update git documentation (#504) 2025-01-25 17:00:07 +00:00
CONTRIBUTING.md Update git documentation (#504) 2025-01-25 17:00:07 +00:00
docker-compose.yml Use forgejo runner 2024-04-28 15:49:54 +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
LICENSE Update git documentation (#504) 2025-01-25 17:00:07 +00:00
package.json Split up moon counter from the database (#489) 2025-02-03 17:42:11 +00:00
README.md Update git documentation (#504) 2025-01-25 17:00:07 +00:00
renovate.json Update 'renovate.json' 2022-12-28 18:42:22 +00:00
tsconfig.json v3.0 (#145) 2022-04-24 14:46:37 +01:00
yarn.lock Merge branch 'main' into develop 2025-01-24 19:15:20 +00: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 v20
  • 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

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