Rules & references utility bot for discord dnd groups
This is (yet another) discord bot for dnd groups on discord. The bot is pretty simple, it pulls in and parses data from Open5e to be displayed in discord. The whole Open5e database is utilised, meaning you can query the bot for dnd conditions, spells, monsters, whatever you need to lookup in the heat of the moment!
The bot accepts a search phrase (known as an entity) which it feeds into the Open5e API, using various boring parsing and filtration techniques to ensure the request is legit. The bot first searches the API for an exact match, then for a partial one (i.e. dragon
will match adult black dragon
).
When it finds a match, it then uses the Scryfall search/ API to find a suitable picture for the response (if it doesn't have one in the first place) and sends the information back to the sender.
Sometimes more than one embed or even files need to be sent due to discord API character restrictions
/search monsters frost giant
, frost giant will be treated as the entity, with frost
being the word that optimises the search./search monsters frostgiant
produces no results as there are no monsters that include the full search term frostgiant
.Display bot latency, author information (me!) and useful data. Pretty simple tbh.
[ROLLS]d[SIDES]
, such as 3d8
) and logical operators.ROLLS
can be omitted (the bot will default to 1 roll) but SIDES
must be equal to at least 2.4
7.2
) are supported too. As of writing this, the currently supported operators are below."+" # Addition
"-" # Subtraction
"*" # Multiplication
"/" # Division
ROLLS
and SIDES
values are treated as single decimal point values but any standalone numbers are treated as decimal pointed. Meaning, /roll 1d20.5
would evaluate to /roll 1d20
but /roll 1d20.5 + 7.5
would evaluate to /roll 1d20 + 7.5
./roll 3d4 + 3
is fine but /roll 3d4+3
would only evaluate to /roll 3d4
.search/
is like a directory (see below) that lists items in the database, but it also provides links and pointers to the original object in its respective directory. This is how the bot will find your requested ENTITY./searchdir
but provides a bigger area to search. Especially useful if you don't know what category your ENTITY is in./search
, with a smaller searchbase limited to the DIRECTORY. Handy if you need your result to be accurate.All contributions are welcome! Please join our discord and post a greeting in #contributing
to get started. Also check out our Testing.md guide to setting up your own test bot to push new features and fixes (requires joining the discord)!
It's just me working on the bot at the moment so any and all help would be appreciated :)
No user data is stored on who executed what command, just logs of what command was initiated anonymously are stored for debugging purposes.
0
0 reviews
Reviews can be left only by registered users. All reviews are moderated by Top.gg moderators. Please make sure to check our guidelines before posting.
5 stars
0
4 stars
0
3 stars
0
2 stars
0
1 star
0
No reviews here yet!
Details
Prefix
/
Socials
Tags
Languages
English (EN)
Creators