diceRoller
Photo by Andrew Magdurulan
Discord Bot

diceRoller

Inspired by the "Ability Checks" game mechanic in the game titled Baldur's Gate 3 -- this is a simple bot that simulates that mechanic.

  • Date: 31 Aug 2023
  • Client: Self
  • Role: Software Engineer

This discord bot uses a simple /roll command to generate 2 numbers for the users. One number represents the “Difficulty Class” which is the number that users have to check against. To “Succeed” a check the subsequent number generated/rolled must be greater than or equal (>=) to the Difficulty Class number. Conversly, to “Fail” a check means the subsequent generated number is less than (<) the Difficulty Class number.

Currently, the /roll command’s parameters are case-insensitive and input strings must match the valid Ability Check types in the pre-determined set of ability check types.

The current set of valid ability checks to perform are: “athletics”, “acrobatics”, “sleight of hand”, “stealth”, “arcana”, “history”, “investigation”, “nature”, “religion”, “animalhandling”, “insight”, “medicine”, “perception”, “survival”, “deception”, “intimidation”, “performance”, “persuasion”.

Example Usage: /roll Sleight Of Hand

See video below for another usage example and live bot functionality within a discord server:

The diceRoller discord bot is still being actively maintained by myself. Plans are set for additional functionality. This includes but is not limited to adding classes that are unique to each member in the server, modifiers that can be applied to rolls based on the member’s chosen class, and consequences/benefits based on successful or failed checks.

Jazz concert
Book Cover

Jazz concert

An alternative to paperback is the glossy cover, otherwise known as a dust cover, found on magazines, and comic books.