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.
Optionalforce: booleanReturns all registered plugins.
Returns an iterator of all Identifiers.
Called when the bot is started.
Called when the bot is stopped.
OptionalreturnOptionalvalue: anySubscribes a list of event subscribers to the manager's bus.
Alias of:
const managerBus = pluginManager.getEventBus();
await managerBus.subscribe(subscriber);
OptionalthrowOptionale: anyUnregisters a plugin given its instance or ID.
An object that holds the objects and methods that make together a bot's plugin system.