-
-
Pridiscover
-
Main menu
-
Definition
-
Green check mark indicates the user already read this page
-
Sample quiz question with select menu function
-
The correct answers will be provided at the end of the quiz, along with the quiz grade
-
This is sample certificate upon after successfully finishing the learning module
-
Keep track of user's learning progress
💡Inspiration
We considered educating everyone about LGBTQ issues throughout this pride month. How can we accomplish this in an entertaining way? Why not create a Discord bot that can make learning engaging and exciting because most people spend a lot of time there?
⚙ What it does
The bot offers you a learning session about LGBTQ when you create an account. Your advancement will be monitored by the XPs you gain. You gain a set amount of XP for each word you learn and quiz you pass. You receive a certificate of participation after successfully finishing the learning module! The learning modules include
- LGBTQ+
- Identities (Gender Identity, Sexual/Romantic Orientations)
- Coming Out
- Resources (Websites/Organizations)
📖 How to use Pridiscover
- $create - create an account before starting your learning
- $learn - display learning module
- $profile - display user learning XPs. If user complete their learning, the bot will automatically send the certificate with your Discord username on it.
🛠 How we built it
- Used Autocode to host our Pridiscover bot
- Used Google Sheet as a backend to store all the learning progress (learning XPs) and updated it in real time. The learning XPs will only be added once.
- Used Javascript as our main programming language
💪 Challenges we ran into
- It is our first time building a quiz bot. At first, we planned to let user to click the button to answer the quiz questions. However, we couldn't figure out how to get the data of which button the user clicked. Fortunately, we found out we can use Selection Menus pre-built function on Autocode!
- We had difficult time to implement the text overlay on the image. Heard about jimp but haven't implemented before.
- Organized the learning topics. We don't want to create too many buttons which will require a lot of coding.
📌 Accomplishments that we're proud of
- Able to store the user's learning progress and store on Google Sheet.
- Able to create certificate using jimp.
- Ourself for trying our best
📚 What we learned
- Learned about jimp.
- Learned about LGBTQIA+ community.
- Learned how to build a combination of learning module with quiz function bot for the first time. We are inspired by Microsoft Learn which they have learning module with quiz questions at the end of each chapter. It's a great learning.
⏭ What's next for Pridiscover
We will be adding timed questions and hints for the quiz. We also promote open source contribution. Therefore, we will be adding a topic request form for user to request any topic they would like us to add in the future.
Built With
- autocode
- discord
- google-sheet
- javascript
- jimp
Log in or sign up for Devpost to join the conversation.