aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/commands/StatusHandler.java
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-04-13 15:23:17 -0700
committerPinapelz <donaldshan1@outlook.com>2023-04-13 15:23:17 -0700
commit795cbcb8a6a0445a3119c715f87f349fc86c43e3 (patch)
tree3b9a810214db7dbbc1eef891a991f09339f58fe1 /src/main/java/commands/StatusHandler.java
parent06836d0398c58b1e14547bd2991e62057b0a36ef (diff)
Added slash command to remove existing stream configuration
Diffstat (limited to 'src/main/java/commands/StatusHandler.java')
-rw-r--r--src/main/java/commands/StatusHandler.java2
1 files changed, 2 insertions, 0 deletions
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();
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage