Table of Contents

Method GetUserAsync

Namespace
DSharpPlus.EventArgs
Assembly
DSharpPlus.dll

GetUserAsync(bool)

Gets the member associated with this voice state.

public ValueTask<DiscordUser?> GetUserAsync(bool skipCache = false)

Parameters

skipCache bool

Whether to skip the cache and always fetch the member from the API.

Returns

ValueTask<DiscordUser>

Returns the member associated with this voice state. Null if the voice state is not associated with a guild.