Fix slash commands
This commit is contained in:
		
							parent
							
								
									90f01710af
								
							
						
					
					
						commit
						c2f0125fb6
					
				@ -215,10 +215,10 @@ type Store() =
 | 
				
			|||||||
//    [<SlashCommand("buy-item", "Purchase an item")>]
 | 
					//    [<SlashCommand("buy-item", "Purchase an item")>]
 | 
				
			||||||
//    member _.BuyItem (ctx : InteractionContext) = checkChannel (DiscordInteractionContext(ctx))
 | 
					//    member _.BuyItem (ctx : InteractionContext) = checkChannel (DiscordInteractionContext(ctx))
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
    [<SlashCommand("buy-item", "Purchase an item")>]
 | 
					    [<SlashCommand("buy-hack", "Purchase a hack so you can take money from other Degenz")>]
 | 
				
			||||||
    member _.BuyHack (ctx : InteractionContext) = enforceChannel (DiscordInteractionContext(ctx)) (buy (Inventory.getItemsByType ItemType.Hack))
 | 
					    member _.BuyHack (ctx : InteractionContext) = enforceChannel (DiscordInteractionContext(ctx)) (buy (Inventory.getItemsByType ItemType.Hack))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    [<SlashCommand("buy-shield", "Purchase a hack shield so you can protect your GoodBoyTokenz")>]
 | 
					    [<SlashCommand("buy-shield", "Purchase a hack shield so you can protect your GBT")>]
 | 
				
			||||||
    member this.BuyShield (ctx : InteractionContext) = enforceChannel (DiscordInteractionContext(ctx)) (buy (Inventory.getItemsByType ItemType.Shield))
 | 
					    member this.BuyShield (ctx : InteractionContext) = enforceChannel (DiscordInteractionContext(ctx)) (buy (Inventory.getItemsByType ItemType.Shield))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//    [<SlashCommand("buy-food", "Purchase a food item to help boost your stats")>]
 | 
					//    [<SlashCommand("buy-food", "Purchase a food item to help boost your stats")>]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user