Inspiration
Bots on discord with simple features that have helped us participate in online games before, we wanted to create something that can handle more aspects
What it does
Allows users to store their character sheets on discord, and automatically calculate their rolls to cut down on time spent adding numbers and counting die. Also implemented an item lookup feature, allowing users to look up an items stats quickly and easily (or grab the stats directly from their characters inventory)
How we built it
We built it using JDA, a Java based wrapper for Discords API that allows us to manage a Bot account that reads and responds to commands made in a discord channel. We also utilized the D&D 5e API to quickly retrieve information without needing to store it ourselves. We also utilized Copilot to more efficiently implement new commands without needing to write every line ourselves, helping us to meet the deadline.
Challenges we ran into
Getting the bot up and running was the most complicated part, and took up most of our first day. Afterwards, we were able to quickly add commands (helped especially by copilot's recognition of the first few commands we implemented by hand).
Accomplishments that we're proud of
That we have a working prototype, that it is presentable and easy to use. The foundation we've built is perfect for more iteration and layers beyond the pure basics we've started with, and we're excited to continue working on it.
What we learned
We learned a lot about managing remote resources, as well as interfacing with Discord's API to use it as an easy and convenient interface that already exists in a common social space.
What's next for DnD Bot
Adding more features, such as advantage and disadvantage to skill checks, automatic computation of class and race perks for users, a more robust search function that can return a list of items instead of just retrieving a singular one, searching for spells and creatures, and more.
Built With
- 5e
- api
- discord
- java
- jda
Log in or sign up for Devpost to join the conversation.