Nostrum.Cache.Mapping.GuildShard.get_shard
You're seeing just the function
get_shard
, go back to Nostrum.Cache.Mapping.GuildShard module for more information.
Specs
get_shard(Nostrum.Struct.Guild.id()) :: {:ok, integer()} | {:error, :id_not_found}
Gets the a shard num from a guild_id
.