crux_structs v0.1.0 Crux.Structs.Util View Source
Collection of util functions.
Link to this section Summary
Functions
Atomifies all keys in a passed list or map to avoid the mess of mixed string and atom keys the gateway sends
Converts a string, likely Discord snowflake, to an integer
Converts a list of raw api data to structs keyed under the passed key
Converts a string to an atom
Link to this section Functions
Atomifies all keys in a passed list or map to avoid the mess of mixed string and atom keys the gateway sends.
Converts a string, likely Discord snowflake, to an integer
Converts a list of raw api data to structs keyed under the passed key.
Converts a string to an atom.
Returns an already converted atom as is instead of raising