mirror of
https://github.com/thedevs-network/the-guard-bot
synced 2025-08-29 05:07:49 +00:00
11 lines
238 B
JavaScript
11 lines
238 B
JavaScript
'use strict';
|
|
|
|
const { compose } = require('telegraf');
|
|
|
|
const { config } = require('../utils/config');
|
|
const names = config.plugins || [];
|
|
|
|
const plugins = names.map(name => `./${name}`).map(require);
|
|
|
|
module.exports = compose(plugins);
|