[Updater > Module] Readd an event name export to fix DiscordNative's ensureModule

This commit is contained in:
Ducko 2022-03-20 12:33:24 +00:00
parent 399727845b
commit 2506002cae

View file

@ -8,6 +8,7 @@ const paths = require('../paths');
const request = require('./request'); const request = require('./request');
const events = exports.events = new (require('events').EventEmitter)(); const events = exports.events = new (require('events').EventEmitter)();
exports.INSTALLED_MODULE = 'installed-module'; // Fixes DiscordNative ensureModule as it uses export
let settings, let settings,
bootstrapping, bootstrapping,