Earlier, we created a Python Discord bot using discord.py library, and the bot API. Today, a short discussion on what is Test-Driven Development, or TDD. I introduce the topic, and then we'll apply that a bit to our discord bot, while improving test coverage, and enhancing its functionality to make more sense.
If you like content like this, feel free to click the like and subscribe buttons. Also, share the link for anyone who might be interested. And if you have some tips to share, or learned something new today, please leave a comment below the video about it.
Code can be found from here: https://github.com/crystoll/discord_bot
You can make a clone of it, study it, play with it. Note that code is ahead of this video since when I make new ones, I push them on top of old ones. Read the README file for instructions on how you can check out the code for a specific session. If you just want to see the final result - so far - no need to go back in time, the final commit is always the best available at the time.
Note: I created a short video to show how you can use git commands to find the code for each episode: • Discord Bot Series bonus episode: How...