From 24b23b9dcc9ca951b4e1fcdebacca58be0fea9d9 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Wed, 13 Dec 2023 20:35:14 -0800 Subject: Added /pop /boost commands - /pop removes a track from the queue by index - /boost moves a particular track to the top of the queue by index Signed-off-by: Pinapelz --- src/main/java/utility/StatusHandler.java | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/main/java/utility/StatusHandler.java') diff --git a/src/main/java/utility/StatusHandler.java b/src/main/java/utility/StatusHandler.java index dbd058c..eb338d3 100644 --- a/src/main/java/utility/StatusHandler.java +++ b/src/main/java/utility/StatusHandler.java @@ -45,6 +45,13 @@ public class StatusHandler { .addCommands( Commands.slash("volume", "Set the volume or leave blank to check current volume"). addOption(OptionType.INTEGER, "volume", "Volume from 0-100")) + .addCommands( + Commands.slash("pop", "Pop a particular song by index from the queue"). + addOption(OptionType.INTEGER, "index", "Index of the song to pop", true)) + .addCommands( + Commands.slash("boost", "Boost a particular song by index from the queue"). + addOption(OptionType.INTEGER, "index", "Index of the song to boost", true) + ) .queue(); } -- cgit v1.2.3