1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-11-18 00:31:00 -05:00
TypeScript version of the original JavaScript-based bot for Official Daggerwin Discord. https://discord.gg/4SnUAFu
Go to file
dependabot[bot] 0afd3a7b63
Bump @types/pg from 8.11.2 to 8.11.3
Bumps [@types/pg](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/pg) from 8.11.2 to 8.11.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/pg)

---
updated-dependencies:
- dependency-name: "@types/pg"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 23:52:00 +00:00
.github Update dependabot.yml 2024-03-20 10:45:49 +11:00
.vscode Update Yarn config and handle macOS paths properly 2024-02-28 20:16:11 +11:00
src Rename Bot Tech as it no longer exists (#104) 2024-03-20 10:43:09 +11:00
.dockerignore Remove comments 2024-02-26 20:04:34 +11:00
.gitignore Delete pointless Yarn PnP files (#99) 2024-03-19 16:52:01 +11:00
.mailmap Update GitHub username 2024-01-22 16:38:10 +11:00
.ncurc.json Merry Christmas! Here's the V3 2023-12-25 02:22:29 +11:00
.yarnrc.yml Update Yarn config and handle macOS paths properly 2024-02-28 20:16:11 +11:00
docker-compose.bot.yml Fix database refusing to start 2024-03-19 20:07:06 +11:00
docker-compose.yml Remove unused variable in Postgres 2024-03-19 20:13:21 +11:00
Dockerfile Update Yarn to 4.1.1 2024-03-06 11:12:36 +11:00
package.json Bump @types/pg from 8.11.2 to 8.11.3 2024-03-19 23:52:00 +00:00
README.md 2024-03-02 23:14:39 +11:00
startDocker.sh Prevent databases from being killed during update 2024-02-18 08:35:15 +11:00
tsconfig.json Update TypeScript to 5.4.2 2024-03-08 09:08:09 +11:00
yarn.lock Bump @types/pg from 8.11.2 to 8.11.3 2024-03-19 23:52:00 +00:00

Daggerbot V3 Description

This is a repository for V3 revision that has been transitioned and rewritten from V2 bot to be more robust and reliable with today's standards.

This revision took 4 months (Late September to Mid December) working on and off to do literally everything that needed a rewrite so badly that it cannot be done in V2.

Q: So what are the changes if it almost looks the same as V2?
A: Here's the bullet points of the changes so far;

  • Reworked some of the files
  • Commands and events are now classes
  • Bot no longer stores short-term and long-term data locally
  • Transitioned MongoDB schemas to PostgreSQL models
  • MPModule got a facelift and rewritten from scratch
  • Moved the module files to another directory called modules
  • Renamed funcs to components as I don't think funcs directory makes sense anymore at this point.

If you're looking for V2 revision, it has been moved to a branch called old.

This is a revision history of how far we come in development cycle;

Revision Language Library Commands
V1 JavaScript Discord.JS v13 Message commands
V2-V3 TypeScript Discord.JS v14 Slash/message commands

CLI arguments (process.argv[..])

yarn dev - Starts the development bot with predefined args.
The args in question is;

Argument Usage
src/DB-Beta.config.json Location of config file - [2]
daggerbotbeta Service name in TokenService to fetch tokens data from - [3]
true Toggle debug mode in Discord.js library - [4]