Skip to content

Commit ff9f669

Browse files
authored
Update NekoCommand.java
1 parent 07ae339 commit ff9f669

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/de/kittybot/kittybot/commands/neko/NekoCommand.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class NekoCommand extends ACommand{
1818
protected static final Category CATEGORY = Category.NEKO;
1919
private static final String[] TYPES = {"neko", "anal", "blowjob", "cum", "fuck", "pussylick", "solo", "threesome_fff", "threesome_ffm", "threesome_mmf", "yaoi", "yuri"};
2020
private static final String TYPE_STRING = String.join("/", TYPES);
21-
public static final String USAGE = "neko <" + TYPE_STRING + "> <img/gif>";
21+
public static final String USAGE = "neko <" + TYPE_STRING + ">";
2222

2323
public NekoCommand(){
2424
super(COMMAND, USAGE, DESCRIPTION, ALIASES, CATEGORY);
@@ -35,6 +35,10 @@ public void run(CommandContext ctx){
3535
return;
3636
}
3737
var args = ctx.getArgs();
38+
if(args.length > 0 && (args[0].equals("?") || args[0].equalsIgnoreCase("help"))){
39+
sendUsage(ctx);
40+
return;
41+
}
3842
var type = "neko";
3943
if(args.length > 0 && Arrays.stream(TYPES).anyMatch(args[0]::equalsIgnoreCase)){
4044
type = args[0].toLowerCase();

0 commit comments

Comments
 (0)