Skip to content

Commit 25d4dd7

Browse files
authored
Merge pull request #191 from KittyBot-Org/development
migrating to new image api
2 parents 48ebe9e + e778e0c commit 25d4dd7

23 files changed

+159
-149
lines changed

src/main/java/de/kittybot/kittybot/commands/neko/BakaCommand.java renamed to src/main/java/de/kittybot/kittybot/commands/neko/BiteCommand.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
import de.kittybot.kittybot.objects.command.Category;
55
import de.kittybot.kittybot.objects.command.CommandContext;
66

7-
public class BakaCommand extends ACommand{
7+
public class BiteCommand extends ACommand{
88

9-
public static final String COMMAND = "baka";
10-
public static final String USAGE = "baka <@user, ...>";
11-
public static final String DESCRIPTION = "Says baka to a user";
12-
protected static final String[] ALIASES = {"dummy", "dummi"};
9+
public static final String COMMAND = "bite";
10+
public static final String USAGE = "bite <@user, ...>";
11+
public static final String DESCRIPTION = "Bites a user";
12+
protected static final String[] ALIASES = {"beiß"};
1313
protected static final Category CATEGORY = Category.NEKO;
1414

15-
public BakaCommand(){
15+
public BiteCommand(){
1616
super(COMMAND, USAGE, DESCRIPTION, ALIASES, CATEGORY);
1717
}
1818

@@ -22,7 +22,7 @@ public void run(CommandContext ctx){
2222
sendUsage(ctx);
2323
return;
2424
}
25-
sendReactionImage(ctx, "baka", "said baka to");
25+
sendReactionImage(ctx, false, "bite", "gif", "bites");
2626
}
2727

2828
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package de.kittybot.kittybot.commands.neko;
2+
3+
import de.kittybot.kittybot.objects.command.ACommand;
4+
import de.kittybot.kittybot.objects.command.Category;
5+
import de.kittybot.kittybot.objects.command.CommandContext;
6+
import de.kittybot.kittybot.objects.requests.Requester;
7+
8+
public class BlushCommand extends ACommand{
9+
10+
public static final String COMMAND = "blush";
11+
public static final String USAGE = "blush";
12+
public static final String DESCRIPTION = "Blushes";
13+
protected static final String[] ALIASES = {"beiß"};
14+
protected static final Category CATEGORY = Category.NEKO;
15+
16+
public BlushCommand(){
17+
super(COMMAND, USAGE, DESCRIPTION, ALIASES, CATEGORY);
18+
}
19+
20+
@Override
21+
public void run(CommandContext ctx){
22+
queue(ctx, image(ctx, Requester.getNeko(false, "blush", "gif")));
23+
}
24+
25+
}

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

Lines changed: 0 additions & 25 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public void run(CommandContext ctx){
2222
sendUsage(ctx);
2323
return;
2424
}
25-
sendReactionImage(ctx, "cuddle", "cuddles");
25+
sendReactionImage(ctx, false, "cuddle", "gif", "cuddles");
2626
}
2727

2828
}

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

Lines changed: 0 additions & 25 deletions
This file was deleted.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public void run(CommandContext ctx){
2222
sendUsage(ctx);
2323
return;
2424
}
25-
sendReactionImage(ctx, "feed", "feeds");
25+
sendReactionImage(ctx, false, "feed", "gif", "feeds");
2626
}
2727

2828
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package de.kittybot.kittybot.commands.neko;
2+
3+
import de.kittybot.kittybot.objects.command.ACommand;
4+
import de.kittybot.kittybot.objects.command.Category;
5+
import de.kittybot.kittybot.objects.command.CommandContext;
6+
import de.kittybot.kittybot.objects.requests.Requester;
7+
8+
public class FluffCommand extends ACommand{
9+
10+
public static final String COMMAND = "fluff";
11+
public static final String USAGE = "fluff";
12+
public static final String DESCRIPTION = "Fluffs";
13+
protected static final String[] ALIASES = {};
14+
protected static final Category CATEGORY = Category.NEKO;
15+
16+
public FluffCommand(){
17+
super(COMMAND, USAGE, DESCRIPTION, ALIASES, CATEGORY);
18+
}
19+
20+
@Override
21+
public void run(CommandContext ctx){
22+
queue(ctx, image(ctx, Requester.getNeko(false, "fluff", "gif")));
23+
}
24+
25+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public void run(CommandContext ctx){
2222
sendUsage(ctx);
2323
return;
2424
}
25-
sendReactionImage(ctx, "hug", "hugs");
25+
sendReactionImage(ctx, false, "hug", "gif", "hugs");
2626
}
2727

2828
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public void run(CommandContext ctx){
2222
sendUsage(ctx);
2323
return;
2424
}
25-
sendReactionImage(ctx, "kiss", "kisses");
25+
sendReactionImage(ctx, false, "kiss", "gif", "kisses");
2626
}
2727

2828
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
package de.kittybot.kittybot.commands.neko;
2+
3+
import de.kittybot.kittybot.objects.command.ACommand;
4+
import de.kittybot.kittybot.objects.command.Category;
5+
import de.kittybot.kittybot.objects.command.CommandContext;
6+
import de.kittybot.kittybot.objects.requests.Requester;
7+
8+
public class KitsuneCommand extends ACommand{
9+
10+
public static final String COMMAND = "kitsune";
11+
public static final String USAGE = "kitsune";
12+
public static final String DESCRIPTION = "Sends a Kitsune";
13+
protected static final String[] ALIASES = {};
14+
protected static final Category CATEGORY = Category.NEKO;
15+
16+
public KitsuneCommand(){
17+
super(COMMAND, USAGE, DESCRIPTION, ALIASES, CATEGORY);
18+
}
19+
20+
@Override
21+
public void run(CommandContext ctx){
22+
queue(ctx, image(ctx, Requester.getNeko(false, "kitsune", "img")));
23+
}
24+
25+
}

0 commit comments

Comments
 (0)