From 479ae1dfba111e31f1154d90fd3d915be1be7b3f Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Sun, 17 Apr 2022 01:49:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=85=B3=E9=94=AE=E8=AF=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/yutou/qqbot/models/setu/GetSeTu.java | 2 ++ 1 file changed, 2 insertions(+) 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)){