Discord SWRPG Assistant Bot. (dice roller, destiny pool, character tracker, Initiative tracker)

By SkyJedi, in Star Wars: Edge of the Empire RPG

ver 1.6.4
- fixed desc (for reals)

ver 1.6.5
-cleaned up console.log
-slimmed down !roll

Dice Math Checks

SkyJedi -Today at 2:22 PM
!r 100000b
3X-PE4M3NT BOT-Today at 2:21 PM
@SkyJedi, roll results:
Too many dice to display.
Final results: :suc: 33448 :adv: 66520
SkyJedi -Today at 2:22 PM
!r 100000s
3X-PE4M3NT BOT-Today at 2:22 PM
@SkyJedi, roll results:
Too many dice to display.
Final results: :fail: 33359 :thr: 33191
SkyJedi -Today at 2:22 PM
!r 100000g
3X-PE4M3NT BOT-Today at 2:22 PM
@SkyJedi, roll results:
Too many dice to display.
Final results: :suc: 62609 :adv: 62386
SkyJedi -Today at 2:22 PM
!r 100000p
3X-PE4M3NT BOT-Today at 2:22 PM
@SkyJedi, roll results:
Too many dice to display.
Final results: :fail: 50298 :thr: 74912
SkyJedi -Today at 2:22 PM
!r 100000y
3X-PE4M3NT BOT-Today at 2:22 PM
@SkyJedi, roll results:
Too many dice to display.
Final results: :suc: 82931 :adv: 66832 :tri: 8488
SkyJedi -Today at 2:22 PM
!r 100000r
3X-PE4M3NT BOT-Today at 2:22 PM
@SkyJedi, roll results:
Too many dice to display.
Final results: :fail: 75063 :thr: 66488 :des: 8289
SkyJedi -Today at 2:22 PM
!r 100000w
3X-PE4M3NT BOT-Today at 2:22 PM
@SkyJedi, roll results:
Too many dice to display.
Final results: :ls: 66835 :ds: 66265
d2Sigha.png
e5X00U8.png
z9BOSao.png
Edited by SkyJedi

ver 1.6.6
- destiny roll now uses !roll module.
- space fix: !roll yyy ggg rr now rolls all dice
- tweaked !init roll a bit

ver 1.6.7
- added result symbols to DiceIdentifiers in rolls
Success/Suc/ * = success
Advantage/Adv/V = advantage
Triumph/Tri/! = triumph
Failure/Fail/- = failure
Threat/Thr/T = threat
Despair/Des/$ = despair
Light/L = lightside point
Dark/N = darkside point

g72yy9u.png

alT89iP.png

tlWaacl.png

ver 1.7.1
- fixed !rr select

ver 1.7.0
- recoded !roll into functions
- redid modules
- added polyhedral
- added !reroll

! Reroll Same : rolls the same pool again

! Reroll Add DiceIdentifiers : roll additional dice and adds them to the pool

! Reroll Remove DiceIdentifiers : remove random dice of the designated color

! Reroll Select DiceColor / DicePositon : rerolls specified dice

ie ! Reroll Select Y3 P1 : rerolls only the 3 rd yellow die and the 1 st purple die in the current dice pool

OA7NLI5.png

FxyOozw.png

Vd0cn3V.png

iAWy4C1.png

6XFb6ID.png

Edited by SkyJedi

ver 1.7.2
- fixed !init set bug that reset Init order on new round

1.7.3
- Polyhedral die rolls are now anything !dXXX
- fixed triumph and despairs

also, if you need to roll dice but don't want to use discord, I have another web based roller/Assistant

i spruced up the despair, failure, and threat png files, if anyone wants to switch them out on their personal server

1 hour ago, LMasterList said:

cant wait to try this

Questions before I start working on it for our discord server

setup emoji on your own

Any further information on these?

and does everyone need to download it?

and where do I put it once i have it?

You only have to do this once per server, only the server admin (or person with permissions) can do it.

Download that zip file, unzip it anywhere. Inside there is a folder named dice/ Remember where this is you'll need it later

then got to your discord server and open your "Server Settings "

Screen_Shot_2017_06_27_at_11_15_13_AM.pn Then click on "Emoji" on this screen

Screen_Shot_2017_06_27_at_11_14_44_AM.pn

Then click upload. Upload all the files from the dice/ folder that you found earlier. D1 is able to see the files at this point and do the rest.

21 hours ago, SkyJedi said:

You only have to do this once per server, only the server admin (or person with permissions) can do it.

Download that zip file, unzip it anywhere. Inside there is a folder named dice/ Remember where this is you'll need it later

then got to your discord server and open your "Server Settings "

Screen_Shot_2017_06_27_at_11_15_13_AM.pn Then click on "Emoji" on this screen

Screen_Shot_2017_06_27_at_11_14_44_AM.pn

Then click upload. Upload all the files from the dice/ folder that you found earlier. D1 is able to see the files at this point and do the rest.

Thanks, Much appreciate it, I will be adding this to my groups server as soon as I can =D

1.7.4
- added !char remove to help command
- added stop for trying to add 2 characters named the same

Hey I have been trying to figure out the wound counter for my character but I keep getting "Bad Command, !help char for more information" The sequence I am typing in looks like this: !Char Strain/S Sofras_Tan -2 Not sure what i am doing wrong

3 hours ago, Flyer777 said:

Hey I have been trying to figure out the wound counter for my character but I keep getting "Bad Command, !help char for more information" The sequence I am typing in looks like this: !Char Strain/S Sofras_Tan -2 Not sure what i am doing wrong

I'm betting this is the issue

!Char Strain Sofras_Tan -2

or

!Char S Sofras_Tan -2

not Strain/S

58 minutes ago, SkyJedi said:

I'm betting this is the issue

!Char Strain Sofras_Tan -2

or

!Char S Sofras_Tan -2

not Strain/S

Perfect. Thanks for the clarification. You rock!

On a similar note when I add credits, I get a message like this "SOFRASTAN gets 4990 credits for a total of NaN." What is NaN and why is it converting my credits to it?

Sounds like when you setup the character you used a non numeric character for credits

!char add butface 10 10 1000

2 minutes ago, SkyJedi said:

Sounds like when you setup the character you used a non numeric character for credits

!char add butface 10 10 1000

This was my setup command

!char setup SofrasTan [14] [10] [20]

3 minutes ago, Flyer777 said:

This was my setup command

!char setup SofrasTan [14] [10] [20]

Never Mind, I think it was the brackets causing the machine grief. Thanks again.

31 minutes ago, Flyer777 said:

Never Mind, I think it was the brackets causing the machine grief. Thanks again.

Yep, no brackets

I just followed your guide to install my own instance of the bot. It works perfectly. Thank you so much for this.

I only have 36 custom emoji slots left on my server. Is there any workaround to this without creating a new server?

BTW, this is awesome!