Class: AliasPiece<O>
Type parameters
Name | Type |
---|---|
O | extends AliasPieceOptions = AliasPieceOptions |
Hierarchy
Piece
<O
>↳
AliasPiece
Constructors
constructor
• new AliasPiece<O
>(context
, options?
)
Type parameters
Name | Type |
---|---|
O | extends AliasPieceOptions <O > = AliasPieceOptions |
Parameters
Name | Type |
---|---|
context | PieceContext |
options | AliasPieceOptions |
Overrides
Defined in
projects/pieces/src/lib/structures/AliasPiece.ts:20
Properties
aliases
• aliases: readonly string
[]
Defined in
projects/pieces/src/lib/structures/AliasPiece.ts:18
enabled
• enabled: boolean
Inherited from
Defined in
projects/pieces/src/lib/structures/Piece.ts:71
location
• Readonly
location: PieceLocation
Inherited from
Defined in
projects/pieces/src/lib/structures/Piece.ts:61
name
• Readonly
name: string
Inherited from
Defined in
projects/pieces/src/lib/structures/Piece.ts:66
options
• Readonly
options: O
Inherited from
Defined in
projects/pieces/src/lib/structures/Piece.ts:76
store
• Readonly
store: Store
<Piece
<PieceOptions
>>
Inherited from
Defined in
projects/pieces/src/lib/structures/Piece.ts:56
Accessors
container
• get
container(): Container
Returns
Inherited from
Piece.container
Defined in
projects/pieces/src/lib/structures/Piece.ts:90
Methods
onLoad
▸ onLoad(): unknown
Returns
unknown
Inherited from
Defined in
projects/pieces/src/lib/structures/Piece.ts:98
onUnload
▸ onUnload(): unknown
Returns
unknown
Inherited from
Defined in
projects/pieces/src/lib/structures/Piece.ts:106
reload
▸ reload(): Promise
<void
>
Returns
Promise
<void
>
Inherited from
Defined in
projects/pieces/src/lib/structures/Piece.ts:121
toJSON
▸ toJSON(): AliasPieceJSON
Returns
Overrides
Defined in
projects/pieces/src/lib/structures/AliasPiece.ts:28
unload
▸ unload(): Promise
<void
>
Returns
Promise
<void
>