fix WoodenFish.java
This commit is contained in:
parent
c146eac9c5
commit
5ac0b45540
@ -27,7 +27,7 @@ public class WoodenFish extends Model {
|
|||||||
@Override
|
@Override
|
||||||
public void onMessage(Long qq, MessageEvent event, boolean isGroup) {
|
public void onMessage(Long qq, MessageEvent event, boolean isGroup) {
|
||||||
super.onMessage(qq, event, isGroup);
|
super.onMessage(qq, event, isGroup);
|
||||||
if("地狱笑话".equals(msg)){
|
if(msg.contains("地狱笑话")){
|
||||||
QQBotManager.getInstance().sendMessage(qq,"功德+1");
|
QQBotManager.getInstance().sendMessage(qq,"功德+1");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user