ArtemGr / Sidekick

Dice and LFG bot for Discord.
MIT License
249 stars 39 forks source link

Undocumented features #183

Open ThorneScape opened 5 years ago

ThorneScape commented 5 years ago

I'm using Sidekick on Discord, and I'm trying to figure out how it works. I've discovered a few undocumented features so far, which weren't contained in the attached documentation (or the Changelog). I'm wondering if there are more that I missed?

[ /r 4d6d1 ] - Roll 4d6 and drop lowest (D&D 5e ability roll) [ /r 2d20dh1 ] - Roll twice and drop the highest roll (D&D 5e disadvantage). [ /r d10!>8=7 ] - Explode 8+, and 7s are treated like a success [ /r d10!>8>=7 ] - Explode 8+, and 7s or greater are treated like a success

Incidentally, I prefer "dh" over "kl", mostly because the "l" looks like a "1" if you aren't looking closely enough, but that's just personal preference, they do the same thing.

Great dice rolling program! Thank you!

Recommended Copy Pastes:
Char Creation: /r repeat (4d6d1, 7, brief) #Char creation, ignore lowest
Advantage: /r 2d20d1 #(Adv)d20
Disadvantage: /r 2d20dh1 #(Disadv)d20

Quick Syntax Help:
# : Comment, put after anything
r: Reroll 1s (etc) [ /r 3d6r1 ][ 1+3+5+2 = 10 ] - eg, halflings
d: Drop lowest [ /r 3d6d1 ][ 1+3+5 = 8 ] Same as 3d6k2
dh: Drop highest [ /r 3d6dh1 ][ 1+3+5 = 4 ] Same as 3d6kl2
k: Keep highest [ /r 3d6k1 ][ 1+3+5 = 5 ] Same as 3d6d2
kl: Keep lowest [ /r 3d6kl1 ][ 1+3+5 = 1 ] Same as 3d6dh2
Successes, Exact [ /r 9d6=4 ][(1 5 6 1 2 6 3 4 3, 1 success) = 1] Only exact counts
Successes, Greater (Exact) [ /r 8d6>4 ][(1 5 6 1 2 6 3 4 3, 3 successes) = 3] Greater than
Successes, Less or Equal [ /r 8d6<=4 ][(1 5 6 1 2 6 3 4 3, 6 successes) = 6] Less than or equal

ArtemGr commented 5 years ago

Thanks, @ThorneScape ! We're currently working with @DarkEclipse847 on making the dice language extendable with loadable WASM plugins.