Export modules in typescript

This commit is contained in:
Christer Warén
2023-06-04 04:29:42 +03:00
parent 56f0ab5a40
commit 9303c4fcc9
38 changed files with 38 additions and 38 deletions

View File

@@ -3,7 +3,7 @@ import Streamer from "../classes/Streamer";
const _importDynamic = new Function('modulePath', 'return import(modulePath)');
const fetch = (...args) => _importDynamic('node-fetch').then(({default: fetch}) => fetch(...args));
module.exports = {
export default {
name: 'maintenance',
description: 'Bot Maintenance',
category: 'info',