Files
website/docs/api/namespaces/Sern.md
2023-12-21 20:52:34 +00:00

964 B

id, title, sidebar_label, sidebar_position, custom_edit_url
id title sidebar_label sidebar_position custom_edit_url
Sern Namespace: Sern Sern 0 null

Variables

controller

Const controller: Object

Since

1.0.0 The object passed into every plugin to control a command's behavior

Type declaration

Name Type
next () => OkImpl<void>
stop () => ErrImpl<void>

Defined in

src/sern.ts:63

Functions

init

init(maybeWrapper): void

Parameters

Name Type
maybeWrapper Wrapper | "file"

Returns

void

Since

1.0.0

Example

Sern.init({
    commands: 'dist/commands',
    events: 'dist/events',
})

Defined in

src/sern.ts:24