mirror of
https://github.com/Noratrieb/killua-bot.git
synced 2026-01-16 16:15:03 +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 NORMAL_PREFIX = "kil ";
|
||||||
public static final String L_PREFIX = "k ";
|
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 String PREFIX = NORMAL_PREFIX;
|
||||||
|
|
||||||
public static final Color DEFAULT_COLOR = new Color(229, 201, 255);
|
public static final Color DEFAULT_COLOR = new Color(229, 201, 255);
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,6 @@ public class HugCommand extends Command {
|
||||||
&& mentions.size() >= 1
|
&& mentions.size() >= 1
|
||||||
&& mentions.get(0).getIdLong() != sender.getIdLong()) {
|
&& mentions.get(0).getIdLong() != sender.getIdLong()) {
|
||||||
|
|
||||||
sender = mentions.get(0);
|
|
||||||
builder.setDescription(sender.getEffectiveName() + " is giving " + mentions.get(0).getEffectiveName() + " a hug! :)");
|
builder.setDescription(sender.getEffectiveName() + " is giving " + mentions.get(0).getEffectiveName() + " a hug! :)");
|
||||||
} else {
|
} else {
|
||||||
builder.setDescription("Get a hug, bro <3");
|
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();
|
line = scanner.nextLine();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue