Elixir v0.2.1 Nostrum.Cache.ChannelCache

Cache for ChannelCache.

Summary

Functions

Retrieves a channel from the cache

Types

channel()
channel ::
  Nostrum.Struct.Channel.TextChannel.t |
  Nostrum.Struct.Channel.VoiceChannel.t

Functions

get(arg1)
get([{:id, integer | Nostrum.Struct.Message.t}]) ::
  {:error, atom} |
  channel

Retrieves a channel from the cache.

Internally, the ChannelCache process only stores DMChannel references. To get channel information, a call is made to a Nostrum.Cache.Guild.GuildServer.

get!(list)
ret_to_struct(error)