version and hug fix #2

This commit is contained in:
Nilstrieb 2021-02-16 16:35:30 +01:00
parent 80d2e253a9
commit c27f518e33
3 changed files with 4 additions and 1 deletions

View file

@ -13,6 +13,8 @@ public class Config {
public static final String NORMAL_PREFIX = "kil ";
public static final String L_PREFIX = "k ";
public static final String VERSION = "1.0.0";
public static final String PREFIX = NORMAL_PREFIX;
public static final Color DEFAULT_COLOR = new Color(229, 201, 255);

View file

@ -24,7 +24,6 @@ public class HugCommand extends Command {
&& mentions.size() >= 1
&& mentions.get(0).getIdLong() != sender.getIdLong()) {
sender = mentions.get(0);
builder.setDescription(sender.getEffectiveName() + " is giving " + mentions.get(0).getEffectiveName() + " a hug! :)");
} else {
builder.setDescription("Get a hug, bro <3");

View file

@ -59,6 +59,8 @@ public class Main {
}
}
}
} else if (line.startsWith("version") || line.startsWith("v")) {
System.out.println(Config.VERSION);
}
line = scanner.nextLine();
}