Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PluginManager

The Plugin manager. You should never have to create an instance of this class.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

cache: Set<Plugin> = ...

The cache of items for this manager.

Accessors

Methods

  • use(plugin: typeof Plugin, ...args: any[]): void
  • Tell the client to use a plugin.

    Parameters

    • plugin: typeof Plugin

      The plugin to load.

    • Rest ...args: any[]

      The arguments to pass to the plugin constructor.

    Returns void