aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/Main.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/Main.java')
-rw-r--r--src/main/java/Main.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/Main.java b/src/main/java/Main.java
index 0446a86..30983d9 100644
--- a/src/main/java/Main.java
+++ b/src/main/java/Main.java
@@ -40,6 +40,10 @@ public class Main extends ListenerAdapter {
jda.upsertCommand(new CommandData("play","Adds a song to the queue with a URL or search terms").
addOption(OptionType.STRING,"term","The link or search terms of the music to queue")
).queue();
+ jda.upsertCommand(new CommandData("queue-recursive","Adds a set amount of random songs from a playlist").
+ addOption(OptionType.STRING,"url","The link of the playlist")
+ .addOption(OptionType.INTEGER,"amount","The amount of songs to queue")
+ ).queue();
jda.upsertCommand(new CommandData("leave","Clears the queue and disconnects the bot from voice channel")).queue();
jda.upsertCommand(new CommandData("showqueue","Shows the current queue")).queue();
jda.upsertCommand(new CommandData("pause","Pauses the player")).queue();
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage