Skip to main content
Version: v2.7.5

Plugin

Table of contents

Methods
load()
unload()

Methods

load()

Load the plugin.

Returns: void

Parameter Type Description
managerManagerManager

unload()

Unload the plugin.

Returns: void

Parameter Type Description
managerManagerManager

Example usage

const { Manager } = require("magmastream");
const MyPlugin = require("my-magmastream-plugin");

const manager = new Manager({
...ManagerOptions,
plugins: [new MyPlugin({ foo: "bar" })],
});