Commit Graph

24 Commits

Author SHA1 Message Date
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
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
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
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
734d28a90b (fix) added dependency module-alias 2021-04-17 23:44:23 +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
9d4e689d4e Bump discord.js from 12.5.1 to 12.5.3
Bumps [discord.js](https://github.com/discordjs/discord.js) from 12.5.1 to 12.5.3.
- [Release notes](https://github.com/discordjs/discord.js/releases)
- [Commits](https://github.com/discordjs/discord.js/compare/12.5.1...12.5.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-10 17:18:06 +00:00
24a07c4588 refactoring (#4) 2021-04-10 19:17:18 +02:00
5bcfd1e621 Bump random from 2.2.0 to 3.0.3
Bumps [random](https://github.com/transitive-bullshit/random) from 2.2.0 to 3.0.3.
- [Release notes](https://github.com/transitive-bullshit/random/releases)
- [Commits](https://github.com/transitive-bullshit/random/compare/v2.2.0...v3.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-10 17:02:00 +00:00
c179bdd0e0 Merge development into master (#5)
* fixing typos

* merge Dynamic commands (#3)

* Update README.md

* Update README.md

* fixing typos

* dynamically read new commands inside folder.

* eslint, update package.json due to moving files

Co-authored-by: Marcus Netz <marcus.netz@godyo.com>

* fix talent checking on empty arguments list

* Origin/message embed (#4)

* add first embedded message on tp.js

* move db from message commands

* fix missing arguments list, add need_args

* add global Message Replies.

* add more global Message Replies.

* more embedded messages. fixing string

* missing comma

* adding a few more strings on talents.

Co-authored-by: Marcus Netz <marcus.netz@godyo.com>

* fixing creating from json file

* bugfix: db not defined

* possible  fix for nonworking talent?

* fix double msg

* fix: aliases are now being used

* change: show command displays now some character attributes

* added various aliases to commands, added global strings.

Co-authored-by: Marcus Netz <marcus.netz@godyo.com>
2020-12-16 08:53:09 +01:00
9f7f87ee07 added random. Use Embed messages for Help and Skill list 2020-11-26 21:40:23 +01:00
cc9536c869 updating discord.js 2020-11-23 13:58:56 +01:00
210062b185 added JSON parsing data 2020-11-22 12:37:30 +01:00
0136d087f5 first update to dev branch 2020-11-21 21:29:18 +01:00
a09be393a3 Update to remove node_modules 2020-03-25 11:16:28 +01:00
b4d041c5de Every new change 2020-03-25 11:05:34 +01:00
4515d69016 package.json correction v3 2020-03-21 19:10:44 +01:00
2529c595dd package.json correction v2 2020-03-21 19:08:01 +01:00
429efecb0e package.json correction 2020-03-21 19:05:29 +01:00
d342cb9d7d package.json correction 2020-03-21 03:50:53 +01:00
d8bba07211 Initial commit 2020-03-21 03:37:31 +01:00