1 Star 0 Fork 10

自知/xiuxian-plugin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
import.ts 525 Bytes
一键复制 编辑 原始数据 按行查看 历史
柠檬冲水 提交于 2024-02-04 13:39 . 抽出公共方法
/**
* *********
* yunzai模块动态导入
* *********
*/
const plugin = (await import('' + '../../lib/plugins/plugin.js')).default
const common = (await import('' + '../../lib/common/common.js')).default
const puppeteer = (await import('' + '../../lib/puppeteer/puppeteer.js'))
.default
export { plugin, common, puppeteer }
import { type GroupMessage } from 'icqq'
/**
* yunzai消息类型
*/
export interface Message extends GroupMessage {
isMaster: boolean
msg: string
reply: (...arg: any) => Promise<any>
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/Ke_scholar/xiuxian-plugin.git
git@gitee.com:Ke_scholar/xiuxian-plugin.git
Ke_scholar
xiuxian-plugin
xiuxian-plugin
main

搜索帮助