Elixir v0.2.0 Nostrum.Cache.Mapping.GuildShard

Mapping of guild -> shard relationships.

Guild servers do not inherently know which shard they came from. This mapping is an ETS table that stores this information.

Summary

Functions

Gets the a shard num from a guild_id

Functions

get_shard(guild_id)
get_shard(integer) :: integer

Gets the a shard num from a guild_id.