forked from ChomeNS/chomens-bot-java
forgor
This commit is contained in:
parent
1d6a21996b
commit
92aaa277d9
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ public class BotVisibilityCommand extends Command {
|
||||||
bot.chat.send("/essentials:vanish " + disableOrEnable);
|
bot.chat.send("/essentials:vanish " + disableOrEnable);
|
||||||
return Component.empty()
|
return Component.empty()
|
||||||
.append(Component.text("The bot's visibility is now "))
|
.append(Component.text("The bot's visibility is now "))
|
||||||
.append(Component.text(visibleOrInvisible).color(greenOrGold));
|
.append(Component.text(visibleOrInvisible).color(greenOrGold))
|
||||||
|
.color(ColorUtilities.getColorByString(bot.config.colorPalette.defaultColor));
|
||||||
} else {
|
} else {
|
||||||
switch (args[0]) {
|
switch (args[0]) {
|
||||||
case "on", "true" -> {
|
case "on", "true" -> {
|
||||||
|
|
Loading…
Reference in a new issue