Deploying a Python Discord bot running dblpy to Heroku

diagram showing the web process dyno
diagram showing the web process dyno
Abstracted web process dyno (Image source: Author)

There are a fair number of resources discussing the makings of a Discord bot using the discordpy library, and a fair number more discussing hosting on Heroku. Yet information seems to be scarce when these two subjects are brought together.

When I first started building Discord bots, I had all my code jumbled into a single file titled bot.py. As my knowledge and programming ability progressed, I soon learned about the beauty of cogs as a way to organize commands into their corresponding groups. In my most recent project, I decided to implement the dblpy API to receive a webhook…

Koza

Python enthusiast with a focus in data manipulation and database architecture.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store