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 3d6+3 ... not valid die code ... #13

Closed
OldManUmby opened this issue Sep 27, 2019 · 7 comments
Closed

/roll 3d6+3 ... not valid die code ... #13

OldManUmby opened this issue Sep 27, 2019 · 7 comments
Assignees

Comments

@OldManUmby
Copy link

I get the following message ... '3d6+3' is not a valid die code See /roll help for examples.

Suggestions?

I just installed the latest version of Mattermost ...

Mattermost Version: 5.15.0
Database Schema Version: 5.15.0
Database: postgres

@Taffer
Copy link
Owner

Taffer commented Sep 27, 2019

I just tried /roll 3d6+3 on our install and it works fine; we're still on 5.14, but I doubt that's the problem.

Could you add a screen shot of the error?

Annotation 2019-09-27 063412

@OldManUmby
Copy link
Author

Regular dice expressions work until I add a modifier of some kind (-/+).

Screen Shot 2019-09-27 at 9 55 29 PM

IMG_0874

@Taffer
Copy link
Owner

Taffer commented Sep 28, 2019

What language settings have you got? I'm wondering if I need to expand my regex to account for Unicode... I've only tested this with English, unfortunately.

@Taffer
Copy link
Owner

Taffer commented Sep 28, 2019

"not a valid die code" doesn't actually appear in the current code; can you make sure you're running the latest release? It should be 1.1.

Version 1.1 says something like this when it can't parse the /roll:

🎲 I have no idea what to do with this: 3d6^3

@OldManUmby
Copy link
Author

What language settings have you got? I'm wondering if I need to expand my regex to account for Unicode... I've only tested this with English, unfortunately.

My Localization default languages are both set to English. Also, this is a fresh/clean install of Mattermost. I done no changes, modifications or odd-ball settings other than a few standard plugins and yours.

@OldManUmby
Copy link
Author

"not a valid die code" doesn't actually appear in the current code; can you make sure you're running the latest release? It should be 1.1.

Version 1.1 says something like this when it can't parse the /roll:

Wow! ... glad you asked. I have a different dice plugin installed, it is not yours at all ... DOH! Damn it, damn it, damn it, damn it, damn it, damn it, damn it, damn it, damn it ;)

The end.

@Taffer
Copy link
Owner

Taffer commented Oct 2, 2019

😄 No worries, glad we figured it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants