Table of Contents

Method GetPresences

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

GetPresences(ulong)

Gets the cached presences for a user keyed by guild id.

public IReadOnlyDictionary<ulong, DiscordPresence> GetPresences(ulong userId)

Parameters

userId ulong

The user id.

Returns

IReadOnlyDictionary<ulong, DiscordPresence>

A read-only dictionary of presences keyed by guild id.