This commit is contained in:
Chayapak 2023-04-11 13:30:24 +07:00
parent 28ed76e0ac
commit 04eddcb12c

View file

@ -157,6 +157,8 @@ public class MusicCommand implements Command {
public Component loop (CommandContext context, String[] args) {
final Bot bot = context.bot();
if (args[1] == null) return Component.text("Invalid argument").color(NamedTextColor.RED);
Loop loop;
switch (args[1]) {
case "off" -> {