Discore
Show / Hide Table of Contents

Constructor DiscordMemoryCache

| Improve this Doc View Source

DiscordMemoryCache(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 shard is null.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX