aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/Main.java
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-04-13 10:42:11 -0700
committerPinapelz <donaldshan1@outlook.com>2023-04-13 10:42:11 -0700
commit380e2077f55b78fa12cd7ae6e38c4770787a144e (patch)
tree01c3ef2142bc02bbe701568668ebf787ce5c1ac2 /src/main/java/Main.java
parent51017462dc42fcf67884c3ee132c692e7f169f2c (diff)
Implemented method to purge all slash commands
Diffstat (limited to 'src/main/java/Main.java')
-rw-r--r--src/main/java/Main.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/Main.java b/src/main/java/Main.java
index 6fdaf1e..bf4cd99 100644
--- a/src/main/java/Main.java
+++ b/src/main/java/Main.java
@@ -88,6 +88,7 @@ public class Main extends ListenerAdapter{
public void onReady(net.dv8tion.jda.api.events.ReadyEvent event) {
System.out.println("Logged in as " + event.getJDA().getSelfUser().getAsTag());
statusHandler = new StatusHandler(jda);
+ //statusHandler.purgeSlashCommands();
statusHandler.updateSlashCommands();
initializeAutoRefresh();
System.out.println("Bot is ready!");
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage