This commit is contained in:
robin committed 2022-07-07 22:16:39 +08:00
1 parent 264ab8d979
commit a9a4bd0981
86 files changed
+1196 -308

No files matched your search

+1
View File
@@ -6,6 +6,7 @@ const config = require("./config")
const EventEmitter = require('events');
module.exports = async (app) => {
app.event = new EventEmitter()
app.alias["$event"] = app.event
const list = await app.load(config.path)
list.forEach(item => {
Object.keys(item.res).forEach(key => {