Find a file
Ethan Lane e2ec042fcd
Some checks failed
Deploy To Stage / build (push) Successful in 6s
Deploy To Stage / deploy (push) Failing after 16s
Add list moons command (#449)
- Add concept of moons to the database
- Add the list moons command to view a user's moons
- This command is paginated using buttons

#195

Reviewed-on: #449
Reviewed-by: VylpesTester <tester@vylpes.com>
Co-authored-by: Ethan Lane <ethan@vylpes.com>
Co-committed-by: Ethan Lane <ethan@vylpes.com>
2024-08-17 16:47:14 +01:00
.forgejo/workflows Update appleboy/ssh-action action to v1.0.3 (#454) 2024-08-05 18:25:25 +01: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 Add list moons command (#449) 2024-08-17 16:47:14 +01: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 Add list moons command (#449) 2024-08-17 16:47:14 +01: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 list moons command (#449) 2024-08-17 16:47:14 +01:00
.gitignore Add list moons command (#449) 2024-08-17 16:47:14 +01:00
.gitlab-ci.yml VylBot App 21.0.0 2021-02-17 18:12:45 +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 Add licence (#304) 2023-06-16 17:56:37 +01:00
package.json Update dependency @types/node to v22 (#460) 2024-08-12 16:08:25 +01:00
README.md v3.0 (#145) 2022-04-24 14:46:37 +01: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 Update dependency random-bunny to v2.3.0 (#466) 2024-08-12 16:09:38 +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.