Inspiration

The Discord bot tutorial and the DCL workshop inspired me to make this bot. As a regular Discord user, I thought would be great look under the hood and get an idea of how bots operate. Learning about distributive computing at the DCL workshop got me excited about the technology, so I thought it would be cool to incorporate both the topics into one idea!

What it does

The bot is triggered by greetings and farewells. After triggering, it provides an embedded link to the DCP worker web-page with a message encouraging the user to trade their idle compute for credits.

How I built it

The Python script was written on Replit. After attending the RU Hacks Discord bot tutorial and watching some Youtube videos, I felt confident enough to attempt the project.

Challenges I ran into

As this is my first hackathon, I didn't know what to expect or if I had a sufficient skill set to contribute. Getting a feel for what a hackathon is was an enjoyable challenge. On the technical side I ran into many challenges. My original idea for the bot included having the bot directly run a DCP worker, but (obviously in hindsight) Discord would never allow a bot to launch other applications. I also wanted to incorporate features that used the DCP API, but my javascript skills were insufficient as nearly all my coding experience is in C and Java.

Accomplishments that I'm proud of

My Python abilities are limited in comparison to my C and Java skills, jumping into making a bot with Python and having it actually work is an accomplishment I am proud of.

What we learned

I'm happy that I have gained an understanding of what hackathons are all about! I learned how to make Discord bots and learned about the distributed computing protocol. I learned I need to invest more time into my web-stack skills in order to contribute more meaningfully to cool technologies like DCP. I also appreciate the guidance the framework of the hackathon provided; Being exposed to new ideas and technologies then immediately building something with them is great way to learn about said technologies and illuminate my own technical strengths and weaknesses. Next time I am definitely going to prioritize joining a team!

What's next for DCP-Greeting-Discord-Bot

I plan to expand the number of greetings and farewells that trigger the bot. I also want to further explore the Discord API and see what other features I can incorporate.

Built With

Share this project:

Updates