HarmonyLink Documentation
- README
- Globals
- HarmonyLink
- Node
- Player
- Queue
- Track
- Response
- ConnectionHandler
- WebSocketClosedEvent
- TrackStuckEvent
- TrackStartEvent
- TrackExceptionEvent
- TrackEndEvent
- TrackDataInfo
- SetStateUpdate
- PlayerOptions
- PlayerEvents
- NodeStats
- NodeOption
- NodeInfo
- NodeGroup
- NodeEvents
- LavalinkNodeStatsPacket
- HarmonyLinkRequesterOptions
- HarmonyLinkEvents
- HarmonyLinkConfiguration
- FrequenCInfo
- FiltersOptions
- ErrorResponses
- FailingAddresses
- DistortionOptions
- ConnectionOptions
- Config
- ChannelMixOptions
- NodeType
- DiscordVoiceStates
- PlayerConnectionState
- PlayerLoop
- VoiceConnectionState
- AbstractPlugin
- DJSLibrary
- ErisJS
- OceanicJS
- CamelToSnake
- DefaultOptions
- GetDefaultConnectionOptions
- GetDefaultNodeStats
- LoadPlugins
- ParseHarmonyLinkConfig
- ParseOptions
- SnakeToCamel
- AnyOtherPacket
- Band
- IPBlockType
- LavalinkPlayerUpdatePacket
- LavalinkReadyPacket
- NoPlaylistInfo
- PacketVoiceServerUpdate
- PacketVoiceStateUpdate
- PlayerEvent
- PlayerObjectFromAPI
- PlayerState
- PlaylistInfoFound
- ResolveOptions
- RoutePlannerStatusBIRP
- RoutePlannerStatusBase
- RoutePlannerStatusNIRP
- RoutePlannerStatusRIRP
- RoutePlannerStatusRNIP
- TrackData
- TrackLoadResultEmpty
- TrackLoadResultPlaylist
- TrackLoadResultSearch
- TrackLoadResultTrack
- TrackLoadingResultException
- UpdatePlayerInfo
- UpdatePlayerOptions
- UpdatePlayerTrack
- VoiceServer
- KaraokeOptions
- LowPassOptions
- RotationOptions
- TimescaleOptions
- TremoloOptions
- VibratoOptions
- EventData
- LavaLinkLoadTypes
- LavalinkEventPacket
- LavalinkPackets
- LoadTrackResult
- NodeLinkV2LoadTypes
- NodeOptions
- Packet
- PartialNull
- PlayerEventType
- PlaylistInfo
- RequiredHarmonyLinkConfiguration
- RoutePlannerStatus
- RoutePlannerStatusDisabled
- Severity
- Snowflake
- TDateISO
- TDateISODate
- TDateISOTime
- TDay
- THours
- TMilliseconds
- TMinutes
- TMonth
- TSeconds
- TYear
- TrackEndReason
- Config
AbstractPlugin
harmonylink • Docs
harmonylink / AbstractPlugin
Class: abstract
AbstractPlugin
Constructors
new AbstractPlugin()
new AbstractPlugin():
AbstractPlugin
Returns
Properties
author
abstract
author:string
This will be the author of the plugin aka you.
Defined in
src/plugin/AbstractPlugin.ts:17
manager
abstract
manager:undefined
|HarmonyLink
This will be the HarmonyLink instance that the plugin will interact with.
Defined in
src/plugin/AbstractPlugin.ts:22
name
abstract
name:string
This will be the name of the plugin.
Defined in
src/plugin/AbstractPlugin.ts:7
version
abstract
version:string
This will be the version of the plugin.
Defined in
src/plugin/AbstractPlugin.ts:12
Methods
load()
abstract
load(manager
):void
|Promise
<void
>
This will be your entrypoint for your plugin to load and initialize it. You will also get the HarmonyLink instance to interact with the library.
Parameters
• manager: HarmonyLink
The HarmonyLink instance
Returns
void
| Promise
<void
>
If you return a promise, the library will wait for it to resolve before continuing.
Defined in
src/plugin/AbstractPlugin.ts:30