Lingo.Cache.Guild (Lingo v0.4.2)

Copy Markdown View Source

Cached guilds. See Lingo.Cache for enabling and configuring the cache.

Summary

Functions

A guild, or nil. cluster: true asks the node running its shard on a miss.

Every cached guild. cluster: true gathers them from every node the bot runs on.

Functions

get(id, opts \\ [])

@spec get(
  Lingo.Api.id(),
  keyword()
) :: Lingo.Type.Guild.t() | nil

A guild, or nil. cluster: true asks the node running its shard on a miss.

list(opts \\ [])

@spec list(keyword()) :: [Lingo.Type.Guild.t()]

Every cached guild. cluster: true gathers them from every node the bot runs on.