2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-23 10:28:09 +00:00

11 lines
238 B
JavaScript
Raw Normal View History

2017-10-27 18:43:33 +02:00
'use strict';
const { compose } = require('telegraf');
2020-03-09 23:27:19 +01:00
const { config } = require('../utils/config');
2017-10-27 18:43:33 +02:00
const names = config.plugins || [];
const plugins = names.map(name => `./${name}`).map(require);
module.exports = compose(plugins);