Commit Graph

131 Commits

Author SHA1 Message Date
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
789a8b73e2 refactoring of Weapons command 2021-04-18 15:27:40 +02:00
aa48f8ed76 (fix) Attributes in Weapon List 2021-04-18 15:26:46 +02:00
d59d395c01 Merge pull request #12 from TobenderZephyr/cleanup
(fix) Invalid request. ref is an invalid key
2021-04-18 10:10:25 +02:00
1c0c6af641 (fix) Invalid request. ref is an invalid key 2021-04-18 10:07:51 +02:00
b4a73dbe83 Merge pull request #11 from TobenderZephyr/cleanup
cleaning up repository, changed workflows.
2021-04-18 10:03:00 +02:00
eb45c27f77 ci did not run, but needed to merge. 2021-04-18 10:01:03 +02:00
19aa1c0985 (fix) error in workflow file 2021-04-18 09:53:51 +02:00
e78fbdaaad (fix) error in workflow file 2021-04-18 09:52:13 +02:00
627c1908c2 cleaning up repository, changed workflows. 2021-04-18 09:49:04 +02:00
c86e20cfcd Merge pull request #10 from TobenderZephyr/install-module-alias
(fix) missing require of desired module ;(
2021-04-18 00:04:49 +02:00
905272fdd6 (fix) missing require of desired module ;( 2021-04-18 00:00:29 +02:00
c49ce55c80 Merge pull request #9 from TobenderZephyr/install-module-alias
(fix) added dependency module-alias
2021-04-17 23:49:36 +02:00
734d28a90b (fix) added dependency module-alias 2021-04-17 23:44:23 +02:00
17328894d0 Merge pull request #6 from TobenderZephyr/dependabot/npm_and_yarn/random-3.0.5
Bump random from 3.0.3 to 3.0.5
2021-04-17 23:32:22 +02:00
9ad9af0490 Merge pull request #8 from TobenderZephyr/TobenderZephyr-patch-2
(fix) trigger deployment only if tests succeeds
2021-04-17 22:33:36 +02:00
8c8ad975b6 (fix) trigger deployment only if tests succeeds 2021-04-17 22:31:07 +02:00
ef13a37006 Merge pull request #7 from TobenderZephyr/TobenderZephyr-patch-2
Update node.js.yml
2021-04-17 22:20:59 +02:00
4c6bdd2135 (fix) node.js.yml
Workflow did not start because it did not find the `run` directive.
2021-04-17 22:18:55 +02:00
daf5fcf0a1 Update node.js.yml 2021-04-17 22:13:35 +02:00
47d51a4af9 Bump random from 3.0.3 to 3.0.5
Bumps [random](https://github.com/transitive-bullshit/random) from 3.0.3 to 3.0.5.
- [Release notes](https://github.com/transitive-bullshit/random/releases)
- [Commits](https://github.com/transitive-bullshit/random/compare/v3.0.3...v3.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-14 08:11:42 +00:00
d7edc85b94 Merge pull request #1 from TobenderZephyr/dependabot/npm_and_yarn/random-3.0.3
Bump random from 2.2.0 to 3.0.3
2021-04-11 17:40:22 +02:00
627f311f95 Merge pull request #2 from TobenderZephyr/dependabot/npm_and_yarn/discord.js-12.5.3
Bump discord.js from 12.5.1 to 12.5.3
2021-04-11 17:40:04 +02:00