fix WoodenFish.java

This commit is contained in:
Yutousama 2022-11-07 09:41:45 +08:00
parent c146eac9c5
commit 5ac0b45540

View File

@ -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");
} }
} }