Skip to main content

ruvyrias / Exports

ruvyrias

Table of contents

Enumerations

Classes

Interfaces

Type Aliases

Type Aliases

Constructor

Ƭ Constructor<T>: (...args: any[]) => T

Type parameters

Name
T

Type declaration

• (...args): T

Parameters
NameType
...argsany[]
Returns

T

Defined in

src/Ruvyrias.ts:16


EventHandlerPromise

Ƭ EventHandlerPromise: TrackStartEvent | TrackEndEvent | TrackStuckEvent | TrackExceptionEvent | WebSocketClosedEvent

Types of events emitted by the player that the function eventHandle can handle.

Defined in

src/Player/Player.ts:36


LoadTrackResponse

Ƭ LoadTrackResponse: LoadTrackResponseTrack | LoadTrackResponseSearch | LoadTrackResponseEmpty | LoadTrackResponseError | LoadTrackResponsePlaylist

Represents a response during the loading of tracks. It can be of different types such as a single track, search results, an empty response, an error, or a playlist.

Defined in

src/Guild/Response.ts:112


LoadType

Ƭ LoadType: "track" | "playlist" | "search" | "empty" | "error"

The type of load operation performed: 'track', 'playlist', 'search', 'empty', or 'error'.

Defined in

src/Guild/Response.ts:4


Loop

Ƭ Loop: "NONE" | "TRACK" | "QUEUE"

Loop mode options for the player.

Defined in

src/Player/Player.ts:21


NodeStatsResponse

Ƭ NodeStatsResponse: Omit<NodeStats, "frameStats">

Represents a subset of Lavalink node statistics response, excluding frame statistics.

Defined in

src/Ruvyrias.ts:194


Packet

Ƭ Packet: PacketVoiceStateUpdate | PacketVoiceServerUpdate | AnyOtherPacket

Represents a packet sent over a communication channel, which can be one of several types.

Defined in

src/Ruvyrias.ts:46


PartialNull

Ƭ PartialNull<T>: { [P in keyof T]: T[P] | null }

Represents a partial type with nullable properties.

Type parameters

Name
T

Defined in

src/Node/Rest.ts:49


PlayerEventType

Ƭ PlayerEventType: "TrackStartEvent" | "TrackEndEvent" | "TrackExceptionEvent" | "TrackStuckEvent" | "WebSocketClosedEvent"

Types of events emitted by the player.

Defined in

src/Player/Player.ts:31


RestMethodGet

Ƭ RestMethodGet: LoadType | Track | Player | NodeInfoResponse | LoadTrackResponse | NodeStatsResponse | Player[]

Represents a type that can be used for HTTP GET methods with various response types.

Defined in

src/Node/Rest.ts:52


RouteLike

Ƭ RouteLike: `/${string}`

Represents a route path string in the format /${string}.

Defined in

src/Node/Rest.ts:46


Severity

Ƭ Severity: "common" | "suspicious" | "fault"

The severity level of a Lavalink load error.

Defined in

src/Guild/Response.ts:68


SupportedLibraries

Ƭ SupportedLibraries: "discord.js" | "eris" | "oceanic" | "other"

Supported communication libraries for Ruvyrias.

Defined in

src/Ruvyrias.ts:99


SupportedPlatforms

Ƭ SupportedPlatforms: "spsearch" | "dzsearch" | "amsearch" | "scsearch" | "ytsearch" | "ytmsearch" | "ymsearch"

Supported platforms for resolving tracks in Ruvyrias.

Defined in

src/Ruvyrias.ts:103


TrackEndReason

Ƭ TrackEndReason: "finished" | "loadFailed" | "stopped" | "replaced" | "cleanup"

Reasons for a track to end.

Defined in

src/Player/Player.ts:26