文件
ChatBot/inside/PIC.ts
2021-07-26 23:24:58 +08:00

8 行
229 B
TypeScript

// Picer
import * as Core from "../Core"
Core.AddListener((c,i)=>{
if(i.message.substr(0,3) == "PIC"){
var u = i.message.replace("PIC","");
Core.frame.SendImg(c,i,`https://pixiv.cat/${u}.jpg`);
}
})