fix the text
This commit is contained in:
parent
b7751a5467
commit
ec4bcd122c
1 changed files with 14 additions and 6 deletions
|
@ -106,12 +106,20 @@ public class SongLoaderRunnable implements Runnable {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void showAddedToQueue () {
|
private void showAddedToQueue () {
|
||||||
bot.chat.tellraw(
|
if (isFolder) {
|
||||||
Component.translatable(
|
bot.chat.tellraw(
|
||||||
"Added %s to the song queue",
|
Component.text(
|
||||||
Component.empty().append(song.name).color(ColorUtilities.getColorByString(bot.config.colorPalette.secondary))
|
"Added folder to the song queue"
|
||||||
).color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor))
|
).color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor))
|
||||||
);
|
);
|
||||||
|
} else {
|
||||||
|
bot.chat.tellraw(
|
||||||
|
Component.translatable(
|
||||||
|
"Added %s to the song queue",
|
||||||
|
Component.empty().append(song.name).color(ColorUtilities.getColorByString(bot.config.colorPalette.secondary))
|
||||||
|
).color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor))
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void failed() {
|
private void failed() {
|
||||||
|
|
Loading…
Reference in a new issue