Mecanum drivetrain

This Python Discord bot uses discord.py to listen for when users submit songs or request a playlist. When a song is submitted, it saves a record of the songs submitted and the ID of the message used to submit it in a MongoDB collection. Other users can react to that message to vote on the song, and when someone requests a monthly playlist the bot fetches the messages and songs from the database, tallies the votes, and uses the Spotify API to create a playlist with the most voted songs. The bot is deployed and hosted on Heroku and serves the Mechatronics class of 2025 Discord server among others. Check out the code on my GitHub



An example of the bot commands in use.

The bot stores data on MongoDB so it persists when Heroku routinely restarts the server. Pictured is the records of two user submissions.