[2025] How to code a Discord Bot in Python. Setup and basics! (Ep.1)

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Hey guys! I just realized after already posting the video and rewatching that I explained the keyword, 'await' incorrectly in attempt to somewhat oversimplify it. Await in asynchronous programming allows the bot to work on multiple outputs without pausing the entire program. So if two users execute a command at once, the bot will work on the output of the first command until it hits a wait point, like when sending an API call, the bot will switch over to the second task and by the time the second task is finished, the first one gets resumed, allowing for both command outputs to be able to be sent efficiently.

vurye
welcome to shbcf.ru