Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!roll: a modifier of "±0" is translated into "±1" #41

Closed
Stefouch opened this issue Sep 2, 2020 · 0 comments
Closed

!roll: a modifier of "±0" is translated into "±1" #41

Stefouch opened this issue Sep 2, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@Stefouch
Copy link
Owner

Stefouch commented Sep 2, 2020

2d6+0 => d6 + d6 + 1
d6-0  => d6 - 1
@Stefouch Stefouch added the bug Something isn't working label Sep 2, 2020
Stefouch added a commit that referenced this issue Sep 2, 2020
Stefouch added a commit that referenced this issue Sep 11, 2020
* v3.5.0 (#47)

* doc: created a supporters list

* style: added dice icons in the readme title

* doc: better constructor info

* refactor(parseRoll): use of YZRoll.substitute() instead of RollParser.supersede()

* fix(YZDie): issue #41

Closes #41

* feat(message): cooldowns support

* refactor(run): replaced "execute()" for "run()"

perf: class destructuration
style(catagory): replaced property "group" for "category"

* Create embed.js

* refactor: help command revamped

* feat: command cooldown

refactor(run): replaced "execute()" for "run()"
style(category): replaced property "group" for "category"

* feat: wikiURL

* style: minor modifications

perf: class destructuration

* doc: v3.5

* feat(message): ContextMessage

* doc: typo

* doc: new directory for documentation

* Revert "doc: new directory for documentation"

This reverts commit d23e5a5.

* Revert "Revert "doc: new directory for documentation""

This reverts commit 246d872.

* doc: docS

* doc(!init): moved to /docs

* feat(test): npm test mocha

* CI release patch (#42)

* Create release.yml
* style: renamed some steps

* style(test): renamed

* Update CHANGELOG.md

* v3.5.0 (#43)

* style(kw): more keywords

* style: variable names and values

* Update CHANGELOG.md

* Create test.yml

* perf: only tests on Node.js 12.x

* fix: hotfix for env testing

* fix: investigation

Why dotenv doesn't load DATABASE_URL ?

* fix(test): fixed env access

* Hotfix ci tests (#45)

* chore(test): added test Node.js 14.x

* Use of other assertion packages

* feat: tests YZRoll

* fix: removed test of Node.js 14.x

Because it breaks Keyv

* fix: removed test of Nodejs

* style(owner): renamed bot.admin to bot.owner & command.adminOnly to command.ownerOnly

* git.enabled: true

* style: added carriage return

* feat(id): added more useful IDs to the bot's config

* doc(version): 3.5.0

* refactor(env): dotenv pkg used only if production mode

* fix(GuildEmbed): removed user.flag

* feat(reload): new reload function (placeholder)

* refactor(message event): ownerOnly check for the command

* style(doc): restyling doc

* feat(log): new prop bot.logChannel

* fix(botinfo): Catch users count without the need of a users cached collection

* feat(UserEmbed, GuildEmbed): new fields

* doc(Snowflake): typedef snowflake

* style(Guild Handler): removed useless guild.fetch()

* feat(New properties and functions): bot.id & bot.log()

* style(Icons): use of unicode emojis

* doc(style): refactoring the "?" in JSDoc

* style(..): removed extra space

* refactor(log): bot.log()

* fix(error): hotfix test production

* feat(guildDelete): cleans databases

* Mocha revamp (#46)

Separate all tests
doc(constructor): partials & intents
perf(test): added argument --exit to mocha
Updated tests

* style(test): prettier

* fix(release): disabled on pull_request

* feat(pkg): Yaml

* feat(util): hasSameDigits()

* refactor(): random()

* Create YZGenerator3.js

* Create YZZoneSector.js

* Create myz-zonesectors.en.data.yml

* Create sector.js

* v3.6.0

* feat(myz): Zone Sector command

* refactor(log): catch message error in bot.log()

* feat(random): can throw an error for debugging

* File renamed

* refactor: reduced max quantity of monster to 5 from 6

* refactor(filename): removed "data" from the filename

* feat(Forbidden Lands): new command !journey

* fix(Typo): Whether ← Wether

* fix(refs): "–" → "-"

* fix(refs): References now support other "-" like "–", "—", etc.

* feat(FBL): Journeys

* chore(threat): small change to the replace function

* refactor: description fn

* refactor(lang): disabled fr & sw

* feat(): added terrain description

* Update CHANGELOG.md

* chore: file renamed

* doc(help): minor fix

* fix(ci): fixed test run error

* doc(help): additional explanations
Stefouch added a commit that referenced this issue Sep 11, 2020
* doc: created a supporters list

* style: added dice icons in the readme title

* doc: better constructor info

* refactor(parseRoll): use of YZRoll.substitute() instead of RollParser.supersede()

* fix(YZDie): issue #41

Closes #41

* feat(message): cooldowns support

* refactor(run): replaced "execute()" for "run()"

perf: class destructuration
style(catagory): replaced property "group" for "category"

* Create embed.js

* refactor: help command revamped

* feat: command cooldown

refactor(run): replaced "execute()" for "run()"
style(category): replaced property "group" for "category"

* feat: wikiURL

* style: minor modifications

perf: class destructuration

* doc: v3.5

* feat(message): ContextMessage

* doc: typo

* doc: new directory for documentation

* Revert "doc: new directory for documentation"

This reverts commit d23e5a5.

* Revert "Revert "doc: new directory for documentation""

This reverts commit 246d872.

* doc: docS

* doc(!init): moved to /docs

* feat(test): npm test mocha

* CI release patch (#42)

* Create release.yml
* style: renamed some steps

* style(test): renamed

* Update CHANGELOG.md

* v3.5.0 (#43)

* style(kw): more keywords

* style: variable names and values

* Update CHANGELOG.md

* Create test.yml

* perf: only tests on Node.js 12.x

* fix: hotfix for env testing

* fix: investigation

Why dotenv doesn't load DATABASE_URL ?

* fix(test): fixed env access

* Hotfix ci tests (#45)

* chore(test): added test Node.js 14.x

* Use of other assertion packages

* feat: tests YZRoll

* fix: removed test of Node.js 14.x

Because it breaks Keyv

* fix: removed test of Nodejs

* style(owner): renamed bot.admin to bot.owner & command.adminOnly to command.ownerOnly

* git.enabled: true

* style: added carriage return

* feat(id): added more useful IDs to the bot's config

* doc(version): 3.5.0

* refactor(env): dotenv pkg used only if production mode

* fix(GuildEmbed): removed user.flag

* feat(reload): new reload function (placeholder)

* refactor(message event): ownerOnly check for the command

* style(doc): restyling doc

* feat(log): new prop bot.logChannel

* fix(botinfo): Catch users count without the need of a users cached collection

* feat(UserEmbed, GuildEmbed): new fields

* doc(Snowflake): typedef snowflake

* style(Guild Handler): removed useless guild.fetch()

* feat(New properties and functions): bot.id & bot.log()

* style(Icons): use of unicode emojis

* doc(style): refactoring the "?" in JSDoc

* style(..): removed extra space

* refactor(log): bot.log()

* fix(error): hotfix test production

* feat(guildDelete): cleans databases

* Mocha revamp (#46)

Separate all tests
doc(constructor): partials & intents
perf(test): added argument --exit to mocha
Updated tests

* doc(Changelog): Fixed a typo

* !sector & !journey (#48)

* v3.5.0 (#47)

* doc: created a supporters list

* style: added dice icons in the readme title

* doc: better constructor info

* refactor(parseRoll): use of YZRoll.substitute() instead of RollParser.supersede()

* fix(YZDie): issue #41

Closes #41

* feat(message): cooldowns support

* refactor(run): replaced "execute()" for "run()"

perf: class destructuration
style(catagory): replaced property "group" for "category"

* Create embed.js

* refactor: help command revamped

* feat: command cooldown

refactor(run): replaced "execute()" for "run()"
style(category): replaced property "group" for "category"

* feat: wikiURL

* style: minor modifications

perf: class destructuration

* doc: v3.5

* feat(message): ContextMessage

* doc: typo

* doc: new directory for documentation

* Revert "doc: new directory for documentation"

This reverts commit d23e5a5.

* Revert "Revert "doc: new directory for documentation""

This reverts commit 246d872.

* doc: docS

* doc(!init): moved to /docs

* feat(test): npm test mocha

* CI release patch (#42)

* Create release.yml
* style: renamed some steps

* style(test): renamed

* Update CHANGELOG.md

* v3.5.0 (#43)

* style(kw): more keywords

* style: variable names and values

* Update CHANGELOG.md

* Create test.yml

* perf: only tests on Node.js 12.x

* fix: hotfix for env testing

* fix: investigation

Why dotenv doesn't load DATABASE_URL ?

* fix(test): fixed env access

* Hotfix ci tests (#45)

* chore(test): added test Node.js 14.x

* Use of other assertion packages

* feat: tests YZRoll

* fix: removed test of Node.js 14.x

Because it breaks Keyv

* fix: removed test of Nodejs

* style(owner): renamed bot.admin to bot.owner & command.adminOnly to command.ownerOnly

* git.enabled: true

* style: added carriage return

* feat(id): added more useful IDs to the bot's config

* doc(version): 3.5.0

* refactor(env): dotenv pkg used only if production mode

* fix(GuildEmbed): removed user.flag

* feat(reload): new reload function (placeholder)

* refactor(message event): ownerOnly check for the command

* style(doc): restyling doc

* feat(log): new prop bot.logChannel

* fix(botinfo): Catch users count without the need of a users cached collection

* feat(UserEmbed, GuildEmbed): new fields

* doc(Snowflake): typedef snowflake

* style(Guild Handler): removed useless guild.fetch()

* feat(New properties and functions): bot.id & bot.log()

* style(Icons): use of unicode emojis

* doc(style): refactoring the "?" in JSDoc

* style(..): removed extra space

* refactor(log): bot.log()

* fix(error): hotfix test production

* feat(guildDelete): cleans databases

* Mocha revamp (#46)

Separate all tests
doc(constructor): partials & intents
perf(test): added argument --exit to mocha
Updated tests

* style(test): prettier

* fix(release): disabled on pull_request

* feat(pkg): Yaml

* feat(util): hasSameDigits()

* refactor(): random()

* Create YZGenerator3.js

* Create YZZoneSector.js

* Create myz-zonesectors.en.data.yml

* Create sector.js

* v3.6.0

* feat(myz): Zone Sector command

* refactor(log): catch message error in bot.log()

* feat(random): can throw an error for debugging

* File renamed

* refactor: reduced max quantity of monster to 5 from 6

* refactor(filename): removed "data" from the filename

* feat(Forbidden Lands): new command !journey

* fix(Typo): Whether ← Wether

* fix(refs): "–" → "-"

* fix(refs): References now support other "-" like "–", "—", etc.

* feat(FBL): Journeys

* chore(threat): small change to the replace function

* refactor: description fn

* refactor(lang): disabled fr & sw

* feat(): added terrain description

* Update CHANGELOG.md

* chore: file renamed

* doc(help): minor fix

* fix(ci): fixed test run error

* doc(help): additional explanations

* Update TODO.md

* fix(ci): hotfix failed test

* chore: v3.6.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant