Inspiration

As a Computer Science major, our classes have quickly transition to Discord. Now, Discord wasn't made for these professional settings, especially if you add in dynamics of a group project. Try zooming out even farther and Discord definitely wasn't made for start-ups or business, but why not?

Adding bots like this Approval Automation Bot gives these small groups (startups, team projects, etc.) a way to transparently see the workflow in a setting.

What it does

Users can request approval and send the approval request text in a channel and via DM. Reviewers can get added and DM'd, until finally the request is approved and the original author is notified! This bot is also hosted 24/7 for free!

How we built it

I used Discord.py, Repl.it, Flask, and Uptime Robot.

Challenges we ran into

This was my first week using Discord.py and I didn't know what exactly it took or what everything meant. It was a great learning experience to have as I've had the chance to learn new features that I could improve in other bots.

Accomplishments that we're proud of

This bot is freely hosted 24/7 which leads to wider availability!

What we learned

I've learned how to make a Discord bot that...

  • DMs the appropriate user text based on a message
  • Deletes unnecessary message to remove clutter
  • Post a message in the channel to reformat another user's message
  • Read message history to find information in past messages
  • And more!

What's next for Approval Automation Bot

One thing that was a challenge for me was keeping track of the messages. I'd love to create a back-end for this bot that can create a Task object that keeps track of requester, reviewers, their approval, content, and anything else, such as files!

Built With

  • bot
  • discord
  • python
  • repl.it
  • uptimerobot
Share this project:

Updates