更新
This commit is contained in:
1 parent
264ab8d979
commit
a9a4bd0981
86 files changed
+1196
-308
No files matched your search
@@ -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 => {
|
||||
|
||||
Reference in new issue
Block a user