Skip to main content

Class: abstract Plugin

Constructors

new Plugin()

new Plugin(): Plugin

Returns

Plugin

Properties

[postInitialization]()?

static optional [postInitialization]: (this: SapphireClient<boolean>, options: ClientOptions) => void

Parameters

ParameterType
thisSapphireClient<boolean>
optionsClientOptions

Returns

void

Defined in

projects/framework/src/lib/plugins/Plugin.ts:10


[postLogin]()?

static optional [postLogin]: (this: SapphireClient<boolean>, options: ClientOptions) => Awaitable<void>

Parameters

ParameterType
thisSapphireClient<boolean>
optionsClientOptions

Returns

Awaitable<void>

Defined in

projects/framework/src/lib/plugins/Plugin.ts:12


[preGenericsInitialization]()?

static optional [preGenericsInitialization]: (this: SapphireClient<boolean>, options: ClientOptions) => void

Parameters

ParameterType
thisSapphireClient<boolean>
optionsClientOptions

Returns

void

Defined in

projects/framework/src/lib/plugins/Plugin.ts:8


[preInitialization]()?

static optional [preInitialization]: (this: SapphireClient<boolean>, options: ClientOptions) => void

Parameters

ParameterType
thisSapphireClient<boolean>
optionsClientOptions

Returns

void

Defined in

projects/framework/src/lib/plugins/Plugin.ts:9


[preLogin]()?

static optional [preLogin]: (this: SapphireClient<boolean>, options: ClientOptions) => Awaitable<void>

Parameters

ParameterType
thisSapphireClient<boolean>
optionsClientOptions

Returns

Awaitable<void>

Defined in

projects/framework/src/lib/plugins/Plugin.ts:11