UNPKG

miraipie

Version:

the most powerful nodejs development kit for mirai-api-http

15 lines (13 loc) 310 B
const {makePie} = require('miraipie'); module.exports = (ctx) => { ctx.pie(makePie({ id: '{{id}}', name: '{{name}}', version: '0.0.1', author: '', filters: [], async received(chat, chain) { // do something... } })); };