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

Adding inline rolls to where the roll is and multiple inline rolls. #3

Open
yigitlevent opened this issue Aug 1, 2017 · 3 comments

Comments

@yigitlevent
Copy link

Hey. So if i have a text like "Something something (roll: 3d6), then something something (roll: 1d20+3).", it only rolls the first one. I wonder if it possible to make the bot roll the second one too (and the third one, so on)? Also would it be possible to add the result of the inline roll to the place it was called? For example:

"Something something (roll: 3d6)"
magic happens
"Something something (roll 3d6, Result: 10)"

I wonder if this is possible via the manage messages permission?

@Gawdl3y
Copy link
Owner

Gawdl3y commented Sep 22, 2017

Editing the original message is not possible, no. Nobody (including bots) has the ability to edit other peoples' messages.

@Imosa1
Copy link

Imosa1 commented Feb 11, 2018

So, I would like it if the inline message was displayed near the result of the die roll. What if the message was just displayed in the bot's response? For example:

Sifaus: Something something (Roll: 3d6)
Bot: @Sifaus rolled 6 (3 + 1 + 2 = 6) for Something something

I'm trying to keep the rolls as organized as possible.

@lathey
Copy link

lathey commented Aug 23, 2018

Aye, if the bot re-printed the message it would be handy, was about to ask for that even for normal rolls.
So when I say !roll D20+5
the answer is: @author rolled D20+5 and got 17 (12, 5)
And in the case of an inline roll it would just reprint the message but with the resulted inserted where the roll command used to be.
IE: I attack the dragon with my lance of dragon peeling (Attack Roll: D20+5) while doing a backflip over it's head off my horse and singing the national anthem (Performance Roll: D20-2)
and the response would be
I attack the dragon with my lance of dragon peeling (Attack Roll: 17 (12, 5)) while doing a backflip over it's head off my horse and singing the national anthem (Performance Roll: 6 (1, 5))

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

4 participants