Disable commands
This commit is contained in:
parent
231c559b1d
commit
d1fac0457e
10
Bot/Bot.fs
10
Bot/Bot.fs
@ -59,16 +59,16 @@ let slotsBot = new DiscordClient(slotsConfig)
|
|||||||
let adminBot = new DiscordClient(adminConfig)
|
let adminBot = new DiscordClient(adminConfig)
|
||||||
|
|
||||||
let hackerCommands = hackerBattleBot.UseSlashCommands()
|
let hackerCommands = hackerBattleBot.UseSlashCommands()
|
||||||
let jpegCommands = jpegBot.UseSlashCommands()
|
//let jpegCommands = jpegBot.UseSlashCommands()
|
||||||
//let stealCommands = stealBot.UseSlashCommands()
|
//let stealCommands = stealBot.UseSlashCommands()
|
||||||
let inviterCommands = inviterBot.UseSlashCommands()
|
//let inviterCommands = inviterBot.UseSlashCommands()
|
||||||
let slotsCommands = slotsBot.UseSlashCommands()
|
//let slotsCommands = slotsBot.UseSlashCommands()
|
||||||
let adminCommands = adminBot.UseSlashCommands()
|
let adminCommands = adminBot.UseSlashCommands()
|
||||||
|
|
||||||
hackerCommands.RegisterCommands<HackerBattle.HackerGame>(guild);
|
hackerCommands.RegisterCommands<HackerBattle.HackerGame>(guild);
|
||||||
jpegCommands.RegisterCommands<Store.JpegStore>(guild);
|
//jpegCommands.RegisterCommands<Store.JpegStore>(guild);
|
||||||
//stealCommands.RegisterCommands<Thief.StealGame>(guild);
|
//stealCommands.RegisterCommands<Thief.StealGame>(guild);
|
||||||
inviterCommands.RegisterCommands<InviteTracker.Inviter>(guild);
|
//inviterCommands.RegisterCommands<InviteTracker.Inviter>(guild);
|
||||||
//slotsCommands.RegisterCommands<SlotMachine.SlotMachine>(guild);
|
//slotsCommands.RegisterCommands<SlotMachine.SlotMachine>(guild);
|
||||||
adminCommands.RegisterCommands<Admin.AdminBot>(guild)
|
adminCommands.RegisterCommands<Admin.AdminBot>(guild)
|
||||||
|
|
||||||
|
@ -250,11 +250,11 @@ let handleStealButton _ (event : ComponentInteractionCreateEventArgs) =
|
|||||||
type StealGame() =
|
type StealGame() =
|
||||||
inherit ApplicationCommandModule ()
|
inherit ApplicationCommandModule ()
|
||||||
|
|
||||||
[<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("amount", "How much you would like to steal")>] amount : int64,
|
// [<Option("amount", "How much you would like to steal")>] amount : int64,
|
||||||
[<Option("target", "Who do you want to steal from?")>] target : DiscordUser) =
|
// [<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 (int amount) (DiscordInteractionContext ctx)
|
// steal target (int amount) (DiscordInteractionContext ctx)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user