5e-Bot dragon logo

5e-Bot

A D&D 5e bot for Discord

Roll dice. Run combat. Look up the rules.

Roll dice, track initiative, and pull up spells, monsters, classes, and equipment without leaving Discord. 5e-Bot puts the tools your group uses during a session in one place.

5e-Bot is free to use. If it helps your table, you can support the project.

Dice rolling

Roll checks, saves, attacks, or damage with `/roll` and standard dice notation.

Initiative tracking

Add combatants, check the order, and move to the next turn right in the channel.

5e SRD search

Find spells, monsters, classes, races, equipment, and quick rules answers.

Keep the game in one place

When combat starts or a rules question comes up, nobody wants to dig through tabs. 5e-Bot keeps the rolls, turn order, and 5e SRD references in the same channel where your group is already playing.

Use `/roll` for the dice, `/in` commands for initiative, and the lookup commands when someone needs a spell, monster, class, or item. For the questions that do not fit a simple lookup, `/query` can help with a quick answer.



FAQ

Is 5e-Bot a D&D bot for Discord or only a dice roller?

It does more than roll dice. You can also track initiative and search the 5e SRD without leaving Discord.

What makes it useful for live sessions?

It keeps the routine parts of play in one channel: rolls, turn order, and the references your group checks most often.

Can I use it as a 5e bot for rules questions?

Yes. Search commands cover the 5e SRD, and `/query` can help when your question needs more than a direct lookup.


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.


/query <question> [brief]

Ask a D&D 5e SRD rules question and get an AI-assisted response.
  • [question]: Your rules question in plain language.
  • [brief]: Optional boolean for a shorter answer.

Responses include a "Read more" link to Far Reach Co. SRD.


/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 and magic items 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.