Skip to content

Commit 6cc9863

Browse files
committed
Updated to newest MangoBotCore
1 parent c8ab432 commit 6cc9863

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ dependencies {
7272
testImplementation 'org.junit.jupiter:junit-jupiter'
7373

7474
installer('org.mangorage:installer:4.0.3')
75-
bot('org.mangorage:mangobot:12.0.5')
75+
bot('org.mangorage:mangobot:12.0.7')
7676

7777
library('org.luaj:luaj-jse:3.0.1')
7878
}

src/main/java/org/mangorage/mangobotplugin/commands/PingCommand.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
import java.util.List;
99

1010
public class PingCommand implements ICommand {
11+
@Override
12+
public String id() {
13+
return "ping";
14+
}
15+
1116
@Override
1217
public List<String> commands() {
1318
return List.of("ping");

src/main/java/org/mangorage/mangobotplugin/commands/trick/TrickCommand.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,11 @@ private void useTrick(Trick trick, Message message, MessageChannel channel, long
593593
}
594594
}
595595

596+
@Override
597+
public String id() {
598+
return "trick";
599+
}
600+
596601
@Override
597602
public List<String> commands() {
598603
return List.of("trick");

0 commit comments

Comments
 (0)