Class InhibitorAbstract

Represents an inhibitor.

Hierarchy (View Summary)

Constructors

Properties

category: Category<string, Inhibitor>

The category this module belongs to.

categoryID: string

The ID of the category this module belongs to.

The client thant instantiated this module.

filepath: string

The filepath of this module.

The handler for this module.

id: string

The ID of this module.

priority: number

The priority of the inhibitor.

reason: string

Reason emitted when command is inhibited.

type: "all" | "pre" | "post"

The type of the inhibitor for when it should run.

Methods