5e-Bot

Roll Dice and Find Resources for Dungeons & Dragons 5e


This bot is designed to search for resources within the Dungeons&Dragons official 5th edition SRD. Such resources include: spells, items, monsters and class-features. The bot also has a dice rolling command which supports modifiers and an initiative tracker.


Invite

Commands

/roll <input>

The command expects a text input in the format:
[number of dice]

d

[dice sides]

+

[modifier].
  • [number of dice]: Specifies how many dice to roll.
  • [dice sides]: Represents the number of sides on the dice.
  • [modifier]: (Optional) A number that's added to the total result of the dice rolls. If multiple modifiers are given, they are all added.

Example

If a user inputs 2d6+3, the command will simulate rolling two 6-sided dice and then add a modifier of 3 to the total.

Command Output

The bot will display each individual dice roll and highlight any critical rolls (when the dice rolls its highest number). It will then provide the combined total of all the dice rolls plus any modifiers.

For our example (2d6+3):

The bot might respond with:
Input: 2d6+3
Roll 1: 4
Roll 2: 6 - CRITICAL
TOTAL = 13

// In case of any errors or incorrect inputs, the bot will notify the user with a "Failed to calculate, try again." message.


/in add <name> <value>

Adds an entry to the initiative list with the given name and value.
  • [name]: The name of the entity to add.
  • [value]: The initiative value associated with the entity.

/in remove <name>

Removes an entry from the initiative list based on the given name.
  • [name]: The name of the entity to remove.

/in next

Moves to the next position in the initiative list and displays it as the current position.

/in clear

Clears the entire initiative list, removing all entries.

/in list

Displays the entire initiative list in a formatted manner, marking the current position.

Output Format

The initiative list is displayed in descending order based on initiative values. The current position is highlighted with a "- CURRENT" notation next to it.

Example:

Eliza : 25
Thandor : 20 - CURRENT
Caelum : 18
Mirelia : 16
Alaric : 2

/skills <choice>

Returns information about various 5e character skills.
[choice]
  • [choice]: Specifies the skill to retrieve information about.

Choices

Acrobatics, Animal Handling, Arcana, Athletics, Deception, History, Insight, Intimidation, Investigation, Medicine, Nature, Perception, Performance, Persuasion, Religion, Sleight of Hand, Stealth, Survival.


/ability-scores <choice>

Returns information about 5e ability scores.
[choice]
  • [choice]: Specifies the ability score to retrieve information about.

Choices

Strength, Dexterity, Constitution, Intelligence, Wisdom, Charisma.


/alignments <choice>

Returns information about 5e alignments.
[choice]
  • [choice]: Specifies the alignment to retrieve information about.

Choices

Lawful Good, Neutral Good, Chaotic Good, Lawful Neutral, True Neutral, Chaotic Neutral, Lawful Evil, Neutral Evil, Chaotic Evil.


/languages <choice>

Returns information about 5e languages.
[choice]
  • [choice]: Specifies the language to retrieve information about.

Choices

Common, Dwarvish, Elvish, Giant, Gnomish, Goblin, Halfling, Orc, Abyssal, Celestial, Draconic, Deep Speech, Infernal, Primordial, Sylvan, Undercommon.


/classes <choice>

Returns information about 5e classes.
[choice]
  • [choice]: Specifies the class to retrieve information about.

Choices

Barbarian, Bard, Cleric, Druid, Fighter, Monk, Paladin, Ranger, Rogue, Sorcerer, Warlock, Wizard.


/subclasses <choice>

Returns information about 5e sub-classes.
[choice]
  • [choice]: Specifies the sub-class to retrieve information about.

Choices

Berserker, Champion, Devotion, Draconic, Evocation, Fiend, Hunter, Land, Life, Lore, Open Hand, Thief.


/races <choice>

Returns information about 5e races.
[choice]
  • [choice]: Specifies the race to retrieve information about.

Choices

Dragonborn, Dwarf, Elf, Gnome, Half-Elf, Half-Orc, Halfling, Human, Tiefling.


/subraces <choice>

Returns information about 5e sub-races.
[choice]
  • [choice]: Specifies the sub-race to retrieve information about.

Choices

High Elf, Hill Dwarf, Lightfoot Halfling Rock Gnome.


/conditions <choice>

Returns information about 5e conditions.
[choice]
  • [choice]: Specifies the condition to retrieve information about.

Choices

Blinded, Charmed, Deafened, Fatigued, Frightened, Grappled, Incapacitated, Invisible, Paralyzed, Petrified, Poisoned, Prone, Restrained, Stunned, Unconscious.


/spells <search term>

Searches for 5e spells matching the provided term.
[search term]
  • [search term]: The term to search for.

/proficiencies <search term>

Searches for 5e proficiencies matching the provided term.
[search term]
  • [search term]: The term to search for.

/features <search term>

Searches for 5e features matching the provided term.
[search term]
  • [search term]: The term to search for.

/traits <search term>

Searches for 5e traits matching the provided term.
[search term]
  • [search term]: The term to search for.

/equipment <search term>

Searches for 5e equipment matching the provided term.
[search term]
  • [search term]: The term to search for.

/magicitems <search term>

Searches for 5e magic items matching the provided term.
[search term]
  • [search term]: The term to search for.

/monsters <search term>

Searches for 5e monsters matching the provided term.
[search term]
  • [search term]: The term to search for.