Table of Contents

Method GetCurrentUserAsync

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetCurrentUserAsync(DiscordAccessToken)

Gets the current user.

public Task<DiscordUser> GetCurrentUserAsync(DiscordAccessToken accessToken)

Parameters

accessToken DiscordAccessToken

The discord access token.

Returns

Task<DiscordUser>