public bool TryCooldown(string key, int value) { if (!Cooldowns.ContainsKey(key) || Cooldowns[key] <= 0) { Cooldowns.SetOrAdd(key, value); return(true); } return(false); }