diff --git a/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java b/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java index 91ea621..e9f3a39 100644 --- a/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java +++ b/src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java @@ -5,6 +5,7 @@ import com.yutou.qqbot.QQBotManager; import com.yutou.qqbot.interfaces.DownloadInterface; import com.yutou.qqbot.models.Model; import com.yutou.qqbot.utlis.HttpTools; +import com.yutou.qqbot.utlis.Log; import com.yutou.qqbot.utlis.StringUtils; import net.mamoe.mirai.event.events.MessageEvent; import net.mamoe.mirai.message.data.MessageChainBuilder; @@ -33,6 +34,7 @@ public class GetSeTu extends Model { public void onMessage(Long qq, MessageEvent event, boolean isGroup) { super.onMessage(qq, event, isGroup); if (msg.startsWith("来点")&&(msg.endsWith("色图")||msg.endsWith("涩图"))) { + Log.i(event.getSource().getFromId()+" > "+msg); String key=msg.replace("来点","").replace("色图","").replace("涩图",""); String url="https://api.lolicon.app/setu/v2?r18=2"; if(!StringUtils.isEmpty(key)){