From 795cbcb8a6a0445a3119c715f87f349fc86c43e3 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Thu, 13 Apr 2023 15:23:17 -0700 Subject: Added slash command to remove existing stream configuration --- src/main/java/commands/StatusHandler.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/commands/StatusHandler.java') diff --git a/src/main/java/commands/StatusHandler.java b/src/main/java/commands/StatusHandler.java index f6631d2..99ebc0c 100644 --- a/src/main/java/commands/StatusHandler.java +++ b/src/main/java/commands/StatusHandler.java @@ -31,6 +31,8 @@ public class StatusHandler { .addChoice("Organization", "org")) .addOption(OptionType.STRING, "id", "The name of the organization or the channel ID", true)) .queue(); + jda.upsertCommand(new CommandData("remove-config", "Removes the configuration for the channel this command is run in") + .addOption(OptionType.STRING, "term", "The channel ID or Organization")).queue(); } -- cgit v1.2.3