mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
2f78b7a1c7
Signed-off-by: 柠檬冲水 <10424920+ningmengchongshui@user.noreply.gitee.com>
12 lines
277 B
JavaScript
12 lines
277 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.setCharacter('#')
|
|
app.component(apps)
|
|
app.mount() |