From 59c2008eaa7e89a736114ae06d9c71efad3ace29 Mon Sep 17 00:00:00 2001 From: Casmir <68127614+csmir@users.noreply.github.com> Date: Tue, 7 Feb 2023 14:44:44 +0100 Subject: [PATCH] Doc patch (#2587) --- docs/guides/bearer_token/bearer_token_guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/bearer_token/bearer_token_guide.md b/docs/guides/bearer_token/bearer_token_guide.md index edaf61374..6fc01f197 100644 --- a/docs/guides/bearer_token/bearer_token_guide.md +++ b/docs/guides/bearer_token/bearer_token_guide.md @@ -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)]