xdicey

Haven't really got much to say here except for the fact that... well, have this node_module:

https://www.npmjs.com/package/xdicey

https://github.com/ev1l0rd/xdicey

What it does
In case you aren't familiar: I am the maintainer of the DiscordJS bot known as Pedro. One of the bots commands is xdicey. xdicey basically allows you to throw an x sided dice y amount of times and then gives you the total sum of the dice. This particular module/function is the backend for xdicey.

Since the code for this program could be useful for other programs, I have made it available as a node module. Usage should be simple, just check the Examples part in the readme. Here's a little example on how you could use it:

https://runkit.com/embed/wjny8dores7n

Enjoy!

Comments

There are no comments to display.

Blog entry information

Author
Ev1l0rd
Views
323
Last update

More entries in Personal Blogs

More entries from Ev1l0rd

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://store.steampowered.com/bundle/34203/Tomb_Raider_Definitive_Survivor_Trilogy/ mmm