mirror of
https://github.com/Noratrieb/killua-bot.git
synced 2026-01-14 15:15:01 +01:00
version and hug fix #2
This commit is contained in:
parent
80d2e253a9
commit
c27f518e33
3 changed files with 4 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -59,6 +59,8 @@ public class Main {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else if (line.startsWith("version") || line.startsWith("v")) {
|
||||
System.out.println(Config.VERSION);
|
||||
}
|
||||
line = scanner.nextLine();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue