discord_gleam/discord/snowflake

Snowflakes is discord’s type for unique identifiers.
They are 64-bit unsigned integers, represented as strings.
See https://discord.com/developers/docs/reference#snowflakes

Types

We are representing Discord’s snowflake as a string

pub type Snowflake =
  String

Values

pub fn decoder() -> decode.Decoder(String)

API should not give a int, but incase it does we will convert to string.

Search Document