Returns an iterator of all [Identifier, NyxPlugin] pairs.
Returns the EventBus for this manager.
Returns the first plugin that is an instance of the passed class.
Returns all registered plugins.
Returns an iterator of all Identifiers.
Called when the bot is started.
Called when the bot is stopped.
Registers a list of plugins.
Subscribes a list of event subscribers to the manager's bus.
Alias of:
const managerBus = pluginManager.getEventBus();
await managerBus.subscribe(subscriber);
Unregisters a plugin given its instance or ID.
Staticcreate
An object that holds the objects and methods that make together a bot's plugin system.