Missed one
This commit is contained in:
parent
793b61267d
commit
2b397f960d
@ -284,7 +284,7 @@ let handleButtonEvent _ (event : ComponentInteractionCreateEventArgs) =
|
||||
match event.Id with
|
||||
| id when id.StartsWith("Attack") -> handleAttack eventCtx
|
||||
| id when id.StartsWith("Defend") -> handleDefense eventCtx
|
||||
| id when id.StartsWith("Trainer") -> Trainer.handleButtonEvent eventCtx |> Async.StartAsTask :> Task
|
||||
| id when id.StartsWith("Trainer") -> Trainer.handleButtonEvent eventCtx
|
||||
| id when id.StartsWith("Steal") -> Thief.handleSteal eventCtx
|
||||
| id when id.StartsWith("RPS") -> RockPaperScissors.handleRPS eventCtx
|
||||
| _ ->
|
||||
|
@ -249,5 +249,6 @@ let handleButtonEvent (ctx : IDiscordContext) =
|
||||
| 3 -> do! handleTrainerStep3 ctx |> Async.AwaitTask
|
||||
| 4 -> do! handleHack ctx |> Async.AwaitTask
|
||||
| _ -> do! sendFollowUpMessage ctx "No action found"
|
||||
}
|
||||
} |> Async.Start
|
||||
Task.CompletedTask
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user