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

Adds comments on rolls, set to a semicolon #16

Merged
merged 4 commits into from
Sep 17, 2016
Merged

Conversation

lsenjov
Copy link
Contributor

@lsenjov lsenjov commented Sep 16, 2016

/roll 3d6+2 ;This is a comment
should print a response:
@user rolled 12 for This is a comment

For #10

Anything after a semicolon is considered a comment on the roll. It is taken off the command in Dice.execute and added to the comment field. Index.js adds it to the title of the roll, so the response will read '@user rolled 18 for attack'
Requested by sterbl
@rossimo rossimo merged commit 1b84965 into rossimo:master Sep 17, 2016
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

Successfully merging this pull request may close these issues.

2 participants