Small fixes
This commit is contained in:
parent
c8e4a8ea01
commit
5105e62393
@ -57,7 +57,7 @@ let getResultEmbed chance prize (bank : int<GBT>) thief (victim : DiscordPlayer)
|
||||
, DiscordColor.Green
|
||||
| WentToPrison ->
|
||||
embed.AddField("Result" , $"Imprisoned", true) |> ignore
|
||||
$"You're going to **PRISON**...\n\n{thief.Name} knows Karate and elbowed you in the nose. While unconscious, they called the cops."
|
||||
$"You're going to **PRISON**...\n\n{victim.Name} knows Karate and elbowed you in the nose. While unconscious, they called the cops."
|
||||
, "https://thumbs.dreamstime.com/b/vector-pixel-art-prisoner-isolated-cartoon-vector-pixel-art-prisoner-129807237.jpg"
|
||||
, DiscordColor.Red
|
||||
|
||||
@ -222,8 +222,8 @@ type StealGame() =
|
||||
|
||||
[<SlashCommand("steal", "Steal some money from another player, but you might go to prison if caught")>]
|
||||
member this.Steal (ctx : InteractionContext,
|
||||
[<Option("target", "Who do you want to steal from?")>] target : DiscordUser,
|
||||
[<Option("amount", "How much you would like to steal")>] amount : double) =
|
||||
[<Option("amount", "How much you would like to steal")>] amount : double,
|
||||
[<Option("target", "Who do you want to steal from?")>] target : DiscordUser) =
|
||||
// enforceChannel (DiscordInteractionContext ctx) (steal target amount)
|
||||
steal target amount (DiscordInteractionContext ctx)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user