mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-22 06:58:24 +00:00
66b1593e43
Signed-off-by: 柠檬冲水 <10424920+ningmengchongshui@user.noreply.gitee.com>
11 lines
255 B
JavaScript
11 lines
255 B
JavaScript
import { createApps } from 'alemonjs'
|
|
import { apps } from './index.js'
|
|
const app = createApps(import.meta.url)
|
|
app.setMessage(async e => {
|
|
await runtime.init(e)
|
|
e.sender = {}
|
|
e.sender.card = e.user_name
|
|
return e
|
|
})
|
|
app.component(apps)
|
|
app.mount() |