Inspiration

Inspired by the fun fantasy theme of KnightHacks, we decided to create a tool to enhance the D&D experience by simplifying and elevating creative storytelling.

What it does

Our tool is used through a Discord bot. It takes in properties of your D&D character through parameters like the character's race (species), class, personality traits, appearance, etc. and uses them to develop an enchanting imaginative background story.

How we built it

We used the ChatGPT API to create the background story. To interface with the tool, we went with a Discord Bot because they're very easy to interact with, and since D&D players almost always use Discord for organizing their games, it was a natural choice.

Challenges we ran into

The biggest challenge we ran into was adapting our skills for the new changes to the discord.py library, a python library for developing Discord bots. Specifically, it was difficult to figure out how to configure the new slash command, and ensuring it integrated well with the rest of the code.

Accomplishments that we're proud of

We're very proud of the project and result as a whole, that we're able to generate beautiful character stories with ease. More specifically, we're proud of getting a Discord bot running using the new library version, as well as figuring out how to request and effectively prompt the GPT API.

What's next for Discord D&D Bot

The most obvious next step would be to expand this into a fully-fledged D&D bot, where this story creation would become one feature among a plethora of others. We hope this can be a comprehensive tool for D&D players, making the game setup as easy and enjoyable as possible.

Built With

Share this project:

Updates