2
0
mirror of https://github.com/thedevs-network/the-guard-bot synced 2025-08-28 12:47:56 +00:00
Thomas Rory Gummerson 37974a3d92 Updates
2023-03-08 14:08:57 +01:00

13 lines
256 B
JavaScript

'use strict';
const {
Telegraf: { compose },
} = require('telegraf');
const { config } = require('../utils/config');
const names = config.plugins || [];
const plugins = names.map((name) => `./${name}`).map(require);
module.exports = compose(plugins);