diff options
author | 2021-05-16 20:29:43 +0100 | |
---|---|---|
committer | 2021-05-16 20:29:43 +0100 | |
commit | 09ad22136121101c541c7200d7df4294b173859e (patch) | |
tree | 43b1e291e92f16e76a7895191654a129fe6bcb01 | |
parent | Finish the tag (diff) |
Fix tense problems
Some of the first paragraph was in the past tense and some was in the present.
Now everything is in the present.
-rw-r--r-- | bot/resources/tags/blocking.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/resources/tags/blocking.md b/bot/resources/tags/blocking.md index 3b9334513..31d91294c 100644 --- a/bot/resources/tags/blocking.md +++ b/bot/resources/tags/blocking.md @@ -1,6 +1,6 @@ **Why do we need asynchronous programming?** -Imagine that you're coding a Discord bot and every time somebody uses a command, you need to get some information from a database. But there's a catch: the database servers are acting up today and take a whole 10 seconds to respond. If you did **not** use asynchronous methods, your whole bot will stop running until it gets a response from the database. How do you fix this? Asynchronous programming. +Imagine that you're coding a Discord bot and every time somebody uses a command, you need to get some information from a database. But there's a catch: the database servers are acting up today and take a whole 10 seconds to respond. If you do **not** use asynchronous methods, your whole bot will stop running until it gets a response from the database. How do you fix this? Asynchronous programming. **What is asynchronous programming?** |