Inspiration

The idea for the project came from a friend. But the potential usefulness of it is what inspired me to actually create it. With everyone staying at home due to COVID-19, most people who would have come together in person to play D&D are no longer able to. And so they now meet virtually. Even still, some D&D groups meet virtually regularly anyway. I thought it would be cool to create a bot where you can look up a spell description as some people would already be using Discord to have sessions.

What it does

When you type into the Discord channel with the "!find" command followed by the name of a spell, if that spell is in the dictionary, the Discord bot with reply with a full description of the spell.

Challenges I ran into

The biggest challenge I ran into was having to teach myself how to do anything and the hardest part for me was setting up the server. I had never set up a server before and ran into some technical difficulties with trying to update node.js on the server

Accomplishments that I'm proud of

I'm definitely proud of myself for actually getting to a point where the bot is functional. I didn't quite get it to the point where I want it because a good deal of my time was actually spent learning how to do anything. As someone with no formal experience and having never taken a programming class before, I had to teach myself practically everything going into this project. I built an entire other bot just to learn how to do it.

What I learned

I learned how to build and get up and running a Discord bot. I also learned that forgetting one semicolon will break the entire thing (:

What's next for DnD Discord Bot

I definitely did not get as far as I wanted to with this project. I want to also add a dice function so that players can use it for a random number generator for playing the game as well, that way everyone can see what everyone has rolled. More spells with be added in the future as there currently is only one. I also want to use the embed function on Discord to make it look nicer. And I also want the user to be able to add spells to the dictionary.

I have also added links to the bot I made to learn how to make a bot. I recommend watching this video before interacting with the bot.

Also please note that "acid splash" is the only spell in the dictionary currently and that you must type "!find" before the spell name. i.e. !find acid splash

Built With

Share this project:

Updates