ES5自写autMan插件MM图片分类搜索+推送

 2024-08-29  阅读 540  评论 0  点赞 0

摘要:ES5自写autMan插件MM图片分类搜索+推送,自己写着玩的,原创插件欢迎下载使用

ES5自写autMan插件MM图片分类搜索+推送,自己写着玩的,原创插件欢迎下载使用

ES5自写autMan插件MM图片分类搜索+推送

使用方法自己查询

代码如下:

//[disable:true]
//[title: MM图片分类搜索+推送]
//[class: 图片类]
//[platform: qq]
//[platform: wx]
//[platform: tb]
//[platform: tg]
//[platform: web]
// [version: 1.0.2] 
//[platform: wxmp]
//[price: 0.1]
// [description: 指令:“妹妹”,设置推送群:set otto mm_push_groups qqgroup:123,wxgroup:123,tggroup:-100123]
//[service: 327954269]
// [rule: 妹妹]
// [cron: 15 13,14,20,22 * * *]
//[priority: 9999]
function main() { 
var data = request({ url: "http://3650000.xyz/api/?type=json&mode=1,2,3,5,7,8,9", dataType: "json" }).url;
var content = image(data) + "\n" + call("timeFormat")("现在是hh点mm分,提提神吧!!!") ;
var imType = ImType();
if (imType == "fake") {
    // 处理推送群
    var pushGroups = get("mm_push_groups")
    Debug(pushGroups)
    var pgs = pushGroups.split(",")
    var groups = []
    for (i = 0; i < pgs.length; i++) {
        groups[i] = {
            imType: pgs[i].slice(0, 2),
            groupCode: pgs[i].slice(8),
        }
    }
    Debug(JSON.stringify(groups))
    for (var i = 0; i < groups.length; i++) {
        groups[i]["content"] = content
        push(groups[i])
    }
} else {
  sendText("请您输入序号,输入q退出\n 0.随机小姐姐img\n 1.微博美女图\n 2.Instagram美女图\n 3.cos美女图\n 4.Mtcos美女图\n 5.美腿\n 6.兔玩映画\n 7.Coser\n 8.随机")
  num1 = input();
if(num1 == "q" || num1 == "Q"){
		sendText("已退出")
		return;
	}else if (num1 ==0){
      sleep(100)
      var date = request({
      url: "https://api.linhun.vip/api/Littlesister?type=json&apiKey=3854b51c4ffa155626e0f98abb968309",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.img}]`
       sendText(bg)
      return
    }
  else if (num1 ==1){
      sleep(100)
      var date = request({
      url: "https://3650000.xyz/api/?type=json&mode=1",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.url}]`
       sendText(bg)
      return
    }
  else if (num1 ==2){
      sleep(100)
      var date = request({
      url: "https://3650000.xyz/api/?type=json&mode=2",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.url}]`
       sendText(bg)
      return
    }
  else if (num1 ==3){
      sleep(100)
      var date = request({
      url: "https://3650000.xyz/api/?type=json&mode=3",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.url}]`
       sendText(bg)
      return
    }
  else if (num1 ==4){
      sleep(100)
      var date = request({
      url: "https://3650000.xyz/api/?type=json&mode=5",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.url}]`
       sendText(bg)
      return
    }
  else if (num1 ==5){
      sleep(100)
      var date = request({
      url: "https://3650000.xyz/api/?type=json&mode=7",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.url}]`
       sendText(bg)
      return
    }
  else if (num1 ==6){
      sleep(100)
      var date = request({
      url: "https://3650000.xyz/api/?type=json&mode=8",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.url}]`
       sendText(bg)
      return
    }
  else if (num1 ==7){
      sleep(100)
      var date = request({
      url: "https://3650000.xyz/api/?type=json&mode=9",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.url}]`
       sendText(bg)
      return
    }
    else if (num1 ==8){
      sleep(100)
      var date = request({
      url: "https://3650000.xyz/api/?type=json&mode=1,2,3,5,7,8,9",
      method: "get",
      dataType: "json"
      })
      //sendImage(date.url)
       var bg = `[CQ:image,file=${date.url}]`
       sendText(bg)
      return
    }
}  
 }

main()

 

上一篇:没有了
标签:autman插件

发表评论:

管理员

承接各种程序开发,外贸网站代运营,外贸网站建设等项目
  • 内容185
  • 积分66666
  • 金币66666

Copyright © 2024 LS'Blog-保定PHP程序员老宋个人博客 Inc. 保留所有权利。 Powered by LS'blog 3.0.3

页面耗时0.0267秒, 内存占用1.94 MB, 访问数据库27次

冀ICP备19034377号