pub type Cooldown { Cooldown(is_enabled: Bool, seconds: Int) }
Cooldown(is_enabled: Bool, seconds: Int)
pub fn cooldown_decoder() -> fn(Dynamic) -> Result(Cooldown, List(DecodeError))