2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-24 19:07:17 +00:00

11 lines
233 B
JavaScript
Raw Normal View History

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