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>
This commit is contained in:
2020-12-16 08:53:09 +01:00
committed by GitHub
parent 0ac4fe4d04
commit c179bdd0e0
32 changed files with 710 additions and 655 deletions

View File

@ -18,15 +18,17 @@ Send the user a simple command list with things to do.
This command can be used to roll dice. To use it one has to put in the number of dice to use as the *x* and the number of sides as the *y* in between those Numbers stands W/D which simply means dice(D) or the german word "Würfel" (W). Theoretically it doesn't matter what Letter is in between but for roleplay gamers this should feel natural.
ie `!roll 3w20`
### !heads
Throw a coin. Heads or Tails?
## Tracking System
As this Bot should help with tracking your character, simply attach your .tda file in a private message.
As this Bot should help with tracking your character, simply attach your .tdc file in a private message.
### !ep / !ap [Value]
Probes on your attributes.
Rolls 1 dice and compares it with the given value. Rolls another, if returned number is 1 or 20.
Rolls 1 die and compares it with the given value. Rolls another, if returned number is 1 or 20.
ie `!ep 11`
@ -39,7 +41,7 @@ ie. `!ep Mut` or `!ep KK`
Returns the current level of the desired skill.
### !talent [skillname] ([-Disadvantages/+Advantages])
Rolls 3 dice and compares the results with your current level of character attributes including your bonus on that particular skill.
Rolls 3 dice and compares the results of each with your current level of character attributes including your bonus on that particular skill.
`caution`: It does not yet make use of any benefits or disadvantages your character has (at the moment).
ie. `!talent klettern -2`
@ -53,7 +55,7 @@ Sends the User a list of talents to use on the `!talent` command.
### !tp [attribute1] [attribute2] [attribute3] ([bonus] [-Disadvantage/+Advantages])
This command also rolls 3 dice and compares their values with entered arguments.
This one is better suited for people, who did not provide a `.tda`-File or if one of the other numerous Advantages and/or Disadvantages need to be considered aswell.
This one is better suited for people, who did not provide a `.tdc`-File or if one of the other numerous Advantages and/or Disadvantages need to be taken into account.
Roll with no Bonus:
`!tp 11 11 13`