文件
ChatBot/inside/PIC.ts
2022-01-14 09:35:29 +08:00

8 行
252 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.SendURLImg(c, i, `https://pximg.rainchan.win/img?img_id=${u}`);
}
})