Go to file
2024-11-11 11:53:25 +02:00
.gitea/workflows Define test workflow 2024-04-01 13:27:47 +03:00
.yarn/releases upgrade yarn 2024-07-19 21:29:55 +03:00
@types Implement functionality to reset settings 2024-10-28 19:14:13 +02:00
archive Translation complete, TODO: testing 2023-12-05 20:31:53 +02:00
src Add author id to bulk delete logs 2024-11-11 11:53:25 +02:00
.eslintrc.json Upgrade deps and linter rules 2024-10-07 15:14:28 +03:00
.example.env Translation complete, TODO: testing 2023-12-05 20:31:53 +02:00
.gitignore Translation complete, TODO: testing 2023-12-05 20:31:53 +02:00
.yarnrc.yml upgrade dependencies 2024-07-26 17:11:01 +03:00
docker-compose.yml Refactor how wrappers store data 2024-09-30 17:56:24 +03:00
eslint.config.mjs Upgrade deps and linter rules 2024-10-07 15:14:28 +03:00
index.ts Add license and copyright attribution 2024-07-18 20:06:49 +03:00
LICENSE Add license and copyright attribution 2024-07-18 20:06:49 +03:00
options.json Include past contributor list 2024-07-26 17:10:48 +03:00
package.json Upgrade deps and linter rules 2024-10-07 15:14:28 +03:00
README.md Update readme 2024-09-30 17:59:56 +03:00
start.json tweaks 2023-12-09 23:53:41 +02:00
tsconfig.json Upgrade deps and linter rules 2024-10-07 15:14:28 +03:00
yarn.lock Upgrade deps and linter rules 2024-10-07 15:14:28 +03:00

Galactic Bot

Welcome to the Galactic Bot repository.
I've decided to open this up as I struggle to find motivation and time to work on this, so contributions welcome.

I do require that any contributions conform to the linter rules present and code should strive to be legible and follow generally good programming practises. Pull requests must explain what they change/add and why.

Discussion and questions are to be had in the discord server.

I will hopefully expand on this file and add others to help document this project, as it stands there is very little internal documentation.
Internal/technical documentation will be in the source files adjacent to the code.

Getting started

Requirements

  • Node.js (unsure what the lowest supported version is, but I work with v22.2.0)
  • MongoDB (7.0.6 as of writing this)
  • MariaDB (TBD)
  • RabbitMQ (maybe, TBD)

A Docker compose file is available for convenience for setting up databases for development or personal deployment.

Running

  • Install the dependencies: yarn install
  • Run the bot: yarn start

If you run into an error about yarn missing, run corepack enable.

Developing

The workflow for this is not particularly formal as this has been mostly a solo project as of recent.

  • Make a new branch and name it after the feature/contribution
  • Make sure the code you write complies with the linter rules
  • Make sure your code runs and works as intended.
  • Write descriptive commits. If you're changing/adding a lot of different things, combine them theme/feature wise into separate commits.
  • Open a new pull request to the development branch with a description of the changes.

The deployment flow is as follows: New feature branch -> development (local bots) -> alpha (QA) -> beta (GalacticTest) -> main (GalacticBot)

TODO

  • Unit tests
  • Proper workflows with gitea actions.
    • Linter
    • Build test
    • Unit tests

Contributors

Nolan - https://github.com/noolaan
Major framework contributions to V3 development.