Constructor DiscordMemoryCache
| Improve this Doc View SourceDiscordMemoryCache(Shard)
Creates a new Discord entity memory cache.
Declaration
public DiscordMemoryCache(Shard shard)
Parameters
| Type | Name | Description |
|---|---|---|
| Shard | shard | The shard to cache entities from. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException | Thrown if |