换个二次元图源API试试
This commit is contained in:
@@ -30,7 +30,7 @@ public class GetSeTu extends Model {
|
||||
public void onMessage(Long qq, MessageEvent event, boolean isGroup) {
|
||||
super.onMessage(qq, event, isGroup);
|
||||
if ("来点色图".equals(msg) || "来点涩图".equals(msg)) {
|
||||
String ret = HttpTools.get("https://api.ixiaowai.cn/api/api.php?return=json");
|
||||
String ret = HttpTools.get("https://www.dmoe.cc/random.php?return=json");
|
||||
JSONObject json = JSONObject.parseObject(ret);
|
||||
HttpTools.download(json.getString("imgurl"),
|
||||
"setu.jpg", new DownloadInterface() {
|
||||
|
||||
Reference in New Issue
Block a user