Here is an installer for a Discord Dice App. After installing it, a shortcut will be created on your desktop. The first time you run it, it will ask for your discord bot token. It will store these in config.json in the install directory in case you need to change them.
CHANGE LOG 3.0.0:
+ Added support for FFG Star Wars. They are used (sw*) where * is a list of dice (b: boost, s: setback, a: ability, d: difficulty, p: proficiency, c: challenge, f: force). For instance, (swbbd) would roll two Boost dice and one Difficulty die, displaying the totals in chat
+ Added support for multiple types of basic dice at once. For instance, (1d10+1d6+1d4) would roll a d10, d6, and d4 in that order and display the results
+ The dice roller now uses bots instead of users. Simply tell it your bot token instead of your login credentials, and make sure your bot is invited to the channel. This is both more secure and more stable
+ The bot will remember which channels it is Started and which it is Stopped on even when restarted.
Download Link: MEGA
While it is running, any channel with that bot invited to it can run the !startDice command to start listening, or the !stopDice command to stop listening. While the bot is listening, you can enter any roll commands and it will display them in the chat channel.
This app has support for the following systems:
Generic Dice
Exalted
New World of Darkness
Legend of the Five Rings
Shadowrun
Fudge
One Ring
FFG Star Wars
If you want additional dice systems added, either contact me or submit a pull request here.
Basic Dice:
(XdY+Z)
Exalted:
(Xe)
optional parameters:
World of Darkness:
(XwY+Z) rolls X dice, rerolling all values Y or higher (defaults to 10), and adds Z successes
Legend of the Five Rings:
(XkY+Z) Rolls X dice, keeping the highest Y. Unless another value is provided, 10s will explode. Adds Z to the final value
Shadowrun:
(Xs+Y) Rolls X dice, counting all dice that show a 5 or 6. Adds Y hits to the final total
Fudge:
(fudge) Rolls four fudge dice, and adds up the total
Additionally, this roller includes an initiative tracker. While it is designed for Exalted 3rd Edition, and most of its features are only useful for that, it can also be used to track any simple initiative system by just ignoring the other features.
The tracker starts empty. Anyone in the channel can add actors, or modify existing ones. The commands are below, any parameter in ALL CAPS is required, and should be replaced by the appropriate value. Any parameter [iN BRACKETS] is optional. Each command must be prefixed with ! (for example: !next or !list). Anywhere it requires a trait, init can be substituted for initiative to make for easier typing.
Commands:
reset - Resets the initiative tracker by deleting all actors in the list
next - Displays the actor with the highest initiative who has not acted yet this turn. If motes are tracked, will add 5 to their current pool
add NAME [iNITIATIVE] [MAXMOTES] - Adds an actor named NAME to the list. If provided, their initiative and maximum motes will also be set. When added, motes will equal maxMotes
list - Lists all actors currently tracked. Their initiative scores and mote totals (if provided) will also be displayed. Whoever's turn it is currently will be bolded, while actors who have already gone will be italicized.
check NAME - Lists the information about the actor named NAME
set NAME TRAIT VALUE - Sets NAME's TRAIT to equal VALUE (e.g. !set LordOfChaos init 5 will set LordOfChaos's initiative to be 5, regardless of its prior value)
modify NAME TRAIT AMOUNT - Modify NAME's TRAIT by AMOUNT. Amount can be negative to subtract
withering ATTACKER DEFENDER AMOUNT - Subtracts AMOUNT initiative from DEFENDER, and adds AMOUNT+1 to ATTACKER. If this reduces the defender to 0 or fewer initiative, the attacker gains 5 additional initiative.
delete NAME - Removes NAME from the tracker
undo - Undoes the previous command, if it changed anything (i.e. !delete LordOfChaos will be undone, but not !list)
redo - Redoes the last undone command. Both Undo and Redo can be called multiple times
help - Displays a list of commands
CHANGE LOG 3.0.0:
+ Added support for FFG Star Wars. They are used (sw*) where * is a list of dice (b: boost, s: setback, a: ability, d: difficulty, p: proficiency, c: challenge, f: force). For instance, (swbbd) would roll two Boost dice and one Difficulty die, displaying the totals in chat
+ Added support for multiple types of basic dice at once. For instance, (1d10+1d6+1d4) would roll a d10, d6, and d4 in that order and display the results
+ The dice roller now uses bots instead of users. Simply tell it your bot token instead of your login credentials, and make sure your bot is invited to the channel. This is both more secure and more stable
+ The bot will remember which channels it is Started and which it is Stopped on even when restarted.
Download Link: MEGA
While it is running, any channel with that bot invited to it can run the !startDice command to start listening, or the !stopDice command to stop listening. While the bot is listening, you can enter any roll commands and it will display them in the chat channel.
This app has support for the following systems:
Generic Dice
Exalted
New World of Darkness
Legend of the Five Rings
Shadowrun
Fudge
One Ring
FFG Star Wars
If you want additional dice systems added, either contact me or submit a pull request here.
Basic Dice:
(XdY+Z)
Exalted:
(Xe)
optional parameters:
- XeY adds the double-Y property, default 10
- rZ rerolls all values in the list of Z (treats 0 as 10), defaults to none
- tA sets target number to N, default 7
- cB counts the number of times result B appears, listing it in parentheses. Defaults to all successful dice
- ! creates a cascading reroll of all successes
- +S adds S automatic successes
World of Darkness:
(XwY+Z) rolls X dice, rerolling all values Y or higher (defaults to 10), and adds Z successes
Legend of the Five Rings:
(XkY+Z) Rolls X dice, keeping the highest Y. Unless another value is provided, 10s will explode. Adds Z to the final value
- eA all values greater than or equal to A will explode. Defaults to 10
- rB any dice that roll B will be rerolled a single time
Shadowrun:
(Xs+Y) Rolls X dice, counting all dice that show a 5 or 6. Adds Y hits to the final total
- e adding e to the end will add an additional die for every 6 rolled
Fudge:
(fudge) Rolls four fudge dice, and adds up the total
Additionally, this roller includes an initiative tracker. While it is designed for Exalted 3rd Edition, and most of its features are only useful for that, it can also be used to track any simple initiative system by just ignoring the other features.
The tracker starts empty. Anyone in the channel can add actors, or modify existing ones. The commands are below, any parameter in ALL CAPS is required, and should be replaced by the appropriate value. Any parameter [iN BRACKETS] is optional. Each command must be prefixed with ! (for example: !next or !list). Anywhere it requires a trait, init can be substituted for initiative to make for easier typing.
Commands:
reset - Resets the initiative tracker by deleting all actors in the list
next - Displays the actor with the highest initiative who has not acted yet this turn. If motes are tracked, will add 5 to their current pool
add NAME [iNITIATIVE] [MAXMOTES] - Adds an actor named NAME to the list. If provided, their initiative and maximum motes will also be set. When added, motes will equal maxMotes
list - Lists all actors currently tracked. Their initiative scores and mote totals (if provided) will also be displayed. Whoever's turn it is currently will be bolded, while actors who have already gone will be italicized.
check NAME - Lists the information about the actor named NAME
set NAME TRAIT VALUE - Sets NAME's TRAIT to equal VALUE (e.g. !set LordOfChaos init 5 will set LordOfChaos's initiative to be 5, regardless of its prior value)
modify NAME TRAIT AMOUNT - Modify NAME's TRAIT by AMOUNT. Amount can be negative to subtract
withering ATTACKER DEFENDER AMOUNT - Subtracts AMOUNT initiative from DEFENDER, and adds AMOUNT+1 to ATTACKER. If this reduces the defender to 0 or fewer initiative, the attacker gains 5 additional initiative.
delete NAME - Removes NAME from the tracker
undo - Undoes the previous command, if it changed anything (i.e. !delete LordOfChaos will be undone, but not !list)
redo - Redoes the last undone command. Both Undo and Redo can be called multiple times
help - Displays a list of commands
Last edited by a moderator: