Browse Source

Doc patch (#2587)

pull/2590/head
Casmir GitHub 2 years ago
parent
commit
59c2008eaa
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      docs/guides/bearer_token/bearer_token_guide.md

+ 1
- 1
docs/guides/bearer_token/bearer_token_guide.md View File

@@ -14,7 +14,7 @@ Some endpoints in Discord API require a Bearer token, which can be obtained thro

The [DiscordRestClient] gets the current user when `LoginAsync()` is called. The user object can be found in the `CurrentUser` property.

If you need to fetch the user again, the `GetGetCurrentUserAsync()` method can be used.
If you need to fetch the user again, the `GetCurrentUserAsync()` method can be used.

[!code-csharp[Get current user](samples/current_user.cs)]



Loading…
Cancel
Save