From 8dbb5e114584051cb039205b6c8f022d16e4f289 Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Wed, 9 Feb 2022 03:08:47 +0700 Subject: [PATCH] Revert cause it's using the wrong cooldown --- Bot/Embeds.fs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Bot/Embeds.fs b/Bot/Embeds.fs index d991f5d..9825c58 100644 --- a/Bot/Embeds.fs +++ b/Bot/Embeds.fs @@ -36,7 +36,8 @@ let getShieldGif = function let constructButtons (actionType: string) (player: PlayerData) (buttonId : string) (items: BattleItem array) isTrainer = items |> Array.map (fun item -> - match player.Actions |> Array.exists (fun i -> i.ActionId = item.Id) && not isTrainer with +// match player.Actions |> Array.exists (fun i -> i.ActionId = item.Id) && not isTrainer with + match false with | true -> DiscordButtonComponent(Game.getClassButtonColor item.Class, $"{actionType}-{item.Id}", $"{item.Name} (on cooldown)", true) | false -> DiscordButtonComponent(Game.getClassButtonColor item.Class, $"{actionType}-{item.Id}-{buttonId}", $"{item.Name}"))