Skip to main content

ruvyrias / Exports / Plugin

Class: Plugin

Represents a plugin for the Ruvyrias library.

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new Plugin(name): Plugin

Creates an instance of Plugin.

Parameters

NameTypeDescription
namestringThe name of the plugin.

Returns

Plugin

Defined in

src/Plugin.ts:14

Properties

name

Readonly name: string

The name of the plugin.

Defined in

src/Plugin.ts:8

Methods

load

load(ruvyrias): Promise<void>

Loads the plugin into the Ruvyrias instance.

Parameters

NameTypeDescription
ruvyriasRuvyriasThe Ruvyrias instance to load the plugin into.

Returns

Promise<void>

Defined in

src/Plugin.ts:23