How to create a Discord bot with Python: Part 3 (Git, async timer, and some structure)

preview_player
Показать описание
How to create a Discord bot in Python? In this part of the tutorial, I'll go through the next steps to get the bot going. We'll add a local Git repository, and add an actual timer, so we can get it to work as a real Pomodoro application.

If you like the content here, please share the links, click the like button, or leave some feedback to keep me going. Also, subscribe and click that bell icon to get notifications whenever I create new content here, so you'll stay up-to-date. These are nice byte-sized clips you can listen to when you have time.

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.

Рекомендации по теме
Комментарии
Автор

To ignore more than one line in python. Just place the piece between 3 quotes.
Like this:
"""
if message.author == client.user:
return
if
await
"""

pedrograngeiro