文件
ChatBot/inside/PIC.ts
2022-01-14 13:10:15 +08:00

8 行
249 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}`);
}
})