From c2ddb6f02914be4f30790e41706b9fe1187f0101 Mon Sep 17 00:00:00 2001 From: Hitmasu Date: Sun, 14 Mar 2021 18:37:11 -0300 Subject: [PATCH] Removed text async --- docs/guides/getting_started/first-bot.md | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/docs/guides/getting_started/first-bot.md b/docs/guides/getting_started/first-bot.md index 150466be1..e1af20d30 100644 --- a/docs/guides/getting_started/first-bot.md +++ b/docs/guides/getting_started/first-bot.md @@ -80,15 +80,11 @@ recommended for these operations to be awaited in a properly established async context whenever possible. To establish an async context, we will be creating an async main method -in your console application, and rewriting the static main method to -invoke the new async main. +in your console application. [!code-csharp[Async Context](samples/first-bot/async-context.cs)] -As a result of this, your program will now start and immediately -jump into an async context. This allows us to create a connection -to Discord later on without having to worry about setting up the -correct async implementation. +As a result of this, your program will now start into an async context. > [!WARNING] > If your application throws any exceptions within an async context,