fix music pause color

This commit is contained in:
Chayapak 2023-09-27 08:57:15 +07:00
parent 62d47f1b09
commit 1511280da1

View file

@ -421,10 +421,10 @@ public class MusicCommand extends Command {
if (currentSong.paused) {
currentSong.play();
return Component.text("Resumed the current song");
return Component.text("Resumed the current song").color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor));
} else {
currentSong.pause();
return Component.text("Paused the current song");
return Component.text("Paused the current song").color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor));
}
}