Browse Source

Raise warning level for exception handling in first-bit.md

pull/988/head
Hsu Still 7 years ago
parent
commit
04dbbabeee
No known key found for this signature in database GPG Key ID: 8601A145FDA95209
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      docs/guides/getting_started/first-bot.md

+ 3
- 3
docs/guides/getting_started/first-bot.md View File

@@ -81,7 +81,7 @@ jump into an async context. This will allow us to create a connection
to Discord later on without having to worry about setting up the to Discord later on without having to worry about setting up the
correct async implementation. correct async implementation.


> [!TIP]
> [!WARNING]
> If your application throws any exceptions within an async context, > If your application throws any exceptions within an async context,
> they will be thrown all the way back up to the first non-async method; > they will be thrown all the way back up to the first non-async method;
> since our first non-async method is the program's `Main` method, this > since our first non-async method is the program's `Main` method, this
@@ -134,8 +134,8 @@ Next, you will need to "login to Discord" with the [LoginAsync]
method with the application's "token." method with the application's "token."


> [!NOTE] > [!NOTE]
> Please note that this is not the same as the application's
> "client secret."
> Pay attention to what you are copying from the developer portal!
> A token is not the same as the application's "client secret."


![Token](images/intro-token.png) ![Token](images/intro-token.png)




Loading…
Cancel
Save