涩图模块:搜不到图时随机来一张

This commit is contained in:
Yutousama 2022-04-18 23:02:11 +08:00
parent 1f7376c020
commit b25a146e9a

View File

@ -54,8 +54,9 @@ public class GetSeTu extends Model {
}
if (!getSeTu("tag", key, isR18, false, qq, event)) {
if (!getSeTu("tag", key, isR18, true, qq, event)) {
if (!getSeTu("dec", key, isR18, true, qq, event)) {
QQBotManager.getInstance().sendMessage(qq, "找不到喵~");
if (!getSeTu("keyword", key, isR18, true, qq, event)) {
QQBotManager.getInstance().sendMessage(qq, "找不到喵~ 不如随便来点吧~");
getSeTu("tag", null, false, false, qq, event);
}
}
}