No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
plugins/loader.js
|
@ -4,7 +4,7 @@ const { EOL } = require('os') |
|
|
|
|
|
|
|
|
function plugins() { |
|
|
function plugins() { |
|
|
const { plugins } = require('../config') |
|
|
const { plugins } = require('../config') |
|
|
plugins.forEach(plugin => { |
|
|
return plugins.map(plugin => { |
|
|
require('../plugins/' + plugin + '/main.js') |
|
|
require('../plugins/' + plugin + '/main.js') |
|
|
console.log(EOL + 'Loaded plugin ' + plugin + '...') |
|
|
console.log(EOL + 'Loaded plugin ' + plugin + '...') |
|
|
}) |
|
|
}) |
|
|