mirror of
https://github.com/toast-ts/Daggerbot-TS.git
synced 2024-11-16 20:00:59 -05:00
TypeScript version of the original JavaScript-based bot for Official Daggerwin Discord.
https://discord.gg/4SnUAFu
2e1d474f2f
* Bump fast-xml-parser from 4.3.5 to 4.3.6 Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.3.5 to 4.3.6. - [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases) - [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md) - [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.3.5...v4.3.6) --- updated-dependencies: - dependency-name: fast-xml-parser dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Bump simple-git from 3.22.0 to 3.23.0 Bumps [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git) from 3.22.0 to 3.23.0. - [Release notes](https://github.com/steveukx/git-js/releases) - [Changelog](https://github.com/steveukx/git-js/blob/main/simple-git/CHANGELOG.md) - [Commits](https://github.com/steveukx/git-js/commits/simple-git@3.23.0/simple-git) --- updated-dependencies: - dependency-name: simple-git dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * Bump @types/node from 20.11.27 to 20.11.28 Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 20.11.27 to 20.11.28. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node) --- updated-dependencies: - dependency-name: "@types/node" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> |
||
---|---|---|
.github | ||
.vscode | ||
src | ||
.dockerignore | ||
.gitignore | ||
.mailmap | ||
.ncurc.json | ||
.pnp.cjs | ||
.pnp.loader.mjs | ||
.yarnrc.yml | ||
docker-compose.bot.yml | ||
docker-compose.yml | ||
Dockerfile | ||
package.json | ||
README.md | ||
startDocker.sh | ||
tsconfig.json | ||
yarn.lock |
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
tocomponents
as I don't thinkfuncs
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] |