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
boolWhether 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.