Commit Graph

153 Commits

Author SHA1 Message Date
f1066f8ac3 Bump eslint from 7.30.0 to 7.32.0 (#75)
Bumps [eslint](https://github.com/eslint/eslint) from 7.30.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.30.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-08 20:13:29 +02:00
23b999c198 Bump @types/jest from 26.0.23 to 26.0.24 (#73)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.23 to 26.0.24.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 08:10:59 +00:00
8f1c4b3e8c Bump babel-jest from 26.6.3 to 27.0.6 (#71)
Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.6.3 to 27.0.6.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v27.0.6/packages/babel-jest)

---
updated-dependencies:
- dependency-name: babel-jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 08:06:03 +00:00
8609a807e9 Bump jest from 26.6.3 to 27.0.6 (#70)
Bumps [jest](https://github.com/facebook/jest) from 26.6.3 to 27.0.6.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.6.3...v27.0.6)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 10:03:24 +02:00
21a7b043b4 Bump eslint from 7.26.0 to 7.30.0 (#72)
Bumps [eslint](https://github.com/eslint/eslint) from 7.26.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.26.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 09:53:47 +02:00
7c6c0f37d0 Bump dotenv from 9.0.2 to 10.0.0 (#58)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.2 to 10.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-09 09:48:52 +02:00
aa58f13444 Bump nedb-promises from 4.1.3 to 4.1.5 (#57)
Bumps [nedb-promises](https://github.com/bajankristof/nedb-promises) from 4.1.3 to 4.1.5.
- [Release notes](https://github.com/bajankristof/nedb-promises/releases)
- [Changelog](https://github.com/bajankristof/nedb-promises/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bajankristof/nedb-promises/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-21 14:00:59 +02:00
5f59372253 Bump dotenv from 9.0.0 to 9.0.2 (#55)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.0 to 9.0.2.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.0...v9.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 17:20:10 +02:00
cb47266772 Update node.js.yml (#56) 2021-05-12 15:16:31 +00:00
14df5e64d9 Bump eslint from 7.25.0 to 7.26.0 (#54)
Bumps [eslint](https://github.com/eslint/eslint) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.25.0...v7.26.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-12 10:44:55 +02:00
d0e4384479 Update node.js.yml 2021-05-09 10:51:25 +02:00
f6dc7d5b19 Update node.js.yml 2021-05-09 10:45:04 +02:00
ba3e5a9824 Delete bump-version.yml 2021-05-09 10:44:15 +02:00
2c092af970 bump version (#51) 2021-05-08 11:32:43 +00:00
7bf77284dd Update readme (#49)
* removed dependency to Random

* removed dependency to node-fetch

* remove node-fetch, add got

* updated README

* bump version
2021-05-07 21:02:47 +00:00
8b3d9b4c78 Remove dependency Random, node-fetch (#48)
* removed dependency to Random

* removed dependency to node-fetch

* remove node-fetch, add got

* unstringify json
2021-05-07 22:51:03 +02:00
ba63be64dd merge dev branch (more tests) (#47)
* more tests and bugfixes on spells

* linting
2021-05-06 19:35:58 +00:00
25ad8ad160 removed string concatenation (#46) 2021-05-06 19:29:16 +00:00
d85d12e2d1 Bump dotenv from 8.2.0 to 9.0.0 (#43)
Bumps [dotenv](https://github.com/motdotla/dotenv) from 8.2.0 to 9.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v8.2.0...v9.0.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 19:06:19 +00:00
6a52df3f28 Bump nedb-promises from 4.1.2 to 4.1.3 (#42)
Bumps [nedb-promises](https://github.com/bajankristof/nedb-promises) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/bajankristof/nedb-promises/releases)
- [Changelog](https://github.com/bajankristof/nedb-promises/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bajankristof/nedb-promises/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 18:55:38 +00:00
807ccb1cd0 Bump eslint-config-prettier from 6.8.0 to 8.3.0 (#45)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.8.0 to 8.3.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v6.8.0...v8.3.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 13:12:42 +02:00
87e469407c Bump eslint from 6.8.0 to 7.25.0 (#35)
Bumps [eslint](https://github.com/eslint/eslint) from 6.8.0 to 7.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v6.8.0...v7.25.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-06 13:07:58 +02:00
79c95cea97 (dev) remove rewire, add babel-plugin-rewire. (#44)
* removed rewire. now using babel-rewire instead

* implemented more tests

* changed some eslint params

* linting

* linting

* coverage on getChant

Co-authored-by: Marcus Netz <marcus.netz@godyo.com>
2021-05-06 10:52:33 +00:00
4fa2dc7ab7 (fix) !spells and !chants returned null value (#40) 2021-05-04 20:39:59 +00:00
895f47847e Tweak: Add --all to !List command (#39)
* tweaked on list command

* added more tests
2021-05-03 19:44:05 +00:00
9bcd195afd removed eslint-import-resolver-module-alias (#38) 2021-05-03 16:50:43 +00:00
c6cacdae5e switched nedb to nedb-promises (#37)
* breaking change: switched to nedb-promises
* Linting
* some dev dependencies
* more tests
* updated package version
* bug fixing
* changed isNaN to isString
* (fix) args[0]
2021-05-03 18:39:33 +02:00
dc746276ab fix attribute checks (#34) 2021-05-01 21:21:33 +00:00
d45e4faad6 Security fixes (#32)
* Generic Object Injection Sink

* (fix) "Character" is not defined.

* added eslint

* improve code quality, use refactored function

* (fix) eslint jest

* "Character" is not defined

* removed unused file Compare.js

* (fix) PointsUsed is not defined

* (fix) eslint moans jsconfig

* turn off "no-prototype-builtins"

* push code coverage
2021-05-01 20:13:15 +02:00
63bd06e92f Create codacy-analysis.yml (#31) 2021-05-01 18:06:15 +00:00
351c90577f (fix) attack handler, more tests. (#30) 2021-05-01 07:12:07 +00:00
f22df0dec1 Refactoring (#29)
* refactor Attack command

* add test to Attack functions

* changed README.md

* install dev dependency rewire

* stop autoloading due to ci errors
2021-04-30 23:14:27 +02:00
edcfba3d7b Delete data directory (#28) 2021-04-30 20:51:10 +00:00
924fca5b90 add more tests (#26)
* added more tests

* (fix) no cpu profile.
2021-04-29 19:42:51 +00:00
23418bbc60 Add Skillchecks for Magical Talents (#25)
* initial implementation of spells

* added return list of spells. Moved them into seperate json

* added _some_ chants, restructuring data from spells

* added more chants, added command for getting info

* added related messages, added skillcheck for spells (cast)

* better error handling, added chant command

* (fix) Chants were referring to spells

* cleanup testing variables and code

* updated README

* fixed storage location issues and minor bugs

* removed db storage location

* rc1

* (fix) chants_title

* (fix) Uncaught ReferenceError: Discord is not defined

* (fix) more reference errors

Co-authored-by: Marcus Netz <marcus.netz@godyo.com>
2021-04-28 19:33:30 +02:00
b49873e1d4 Fix sum of roll (#24)
* (fix) sum of dice rolls not displaying total result
2021-04-28 13:23:23 +02:00
bccdc7a55b Bump random from 3.0.5 to 3.0.6 (#21)
Bumps [random](https://github.com/transitive-bullshit/random) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/transitive-bullshit/random/releases)
- [Commits](https://github.com/transitive-bullshit/random/compare/v3.0.5...v3.0.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-24 10:24:30 +02:00
a9dd8b8563 Update dsabot.db (#20) 2021-04-22 15:40:22 +00:00
126dce828d Cleanup (#19)
* reformatting of skill checks table

* Including own Random "generator", more refactoring
2021-04-22 17:36:10 +02:00
cc8387256a Merge pull request #17 from TobenderZephyr/cleanup
refactoring Skillcheck Command
2021-04-20 19:09:13 +02:00
91e62f3b28 refactored Skillcheck Command 2021-04-20 18:09:34 +02:00
e89465250e Merge pull request #16 from TobenderZephyr/cleanup
(fix) refactoring of Skill command
2021-04-18 22:29:43 +02:00
6ec0a2fe68 refactored Skill command 2021-04-18 22:13:36 +02:00
f8674abe87 duplicate entry in return strings 2021-04-18 22:02:30 +02:00
86c47619d9 Merge pull request #15 from TobenderZephyr/cleanup
(fix) Attributes command did not work after refactoring
2021-04-18 18:38:26 +02:00
0b2c3d9d82 (fix) Attributes command did not work after refactoring 2021-04-18 18:35:53 +02:00
7411d7b047 Merge pull request #14 from TobenderZephyr/cleanup
Cleanup
2021-04-18 16:04:11 +02:00
6d7fcda737 Update node.js.yml (#13)
This should fix this issue.
2021-04-18 14:02:27 +00:00
2f69625fc3 cleanup old code 2021-04-18 15:55:39 +02:00
ff7f1b12a2 refactoring Talents Command. Refactoring Capitalization 2021-04-18 15:53:08 +02:00