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
 | 
					            , DiscordColor.Green
 | 
				
			||||||
        | WentToPrison ->
 | 
					        | WentToPrison ->
 | 
				
			||||||
            embed.AddField("Result" , $"Imprisoned", true) |> ignore
 | 
					            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"
 | 
					            , "https://thumbs.dreamstime.com/b/vector-pixel-art-prisoner-isolated-cartoon-vector-pixel-art-prisoner-129807237.jpg"
 | 
				
			||||||
            , DiscordColor.Red
 | 
					            , DiscordColor.Red
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -222,8 +222,8 @@ type StealGame() =
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    [<SlashCommand("steal", "Steal some money from another player, but you might go to prison if caught")>]
 | 
					    [<SlashCommand("steal", "Steal some money from another player, but you might go to prison if caught")>]
 | 
				
			||||||
    member this.Steal (ctx : InteractionContext,
 | 
					    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)
 | 
					//        enforceChannel (DiscordInteractionContext ctx) (steal target amount)
 | 
				
			||||||
        steal target amount (DiscordInteractionContext ctx)
 | 
					        steal target amount (DiscordInteractionContext ctx)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user