ruvyrias / Exports / RuvyriasOptions
Interface: RuvyriasOptions
Options for configuring the Ruvyrias instance.
Table of contents
Properties
- autoResume
- clientId
- clientName
- clientVersion
- defaultPlatform
- isActivated
- library
- plugins
- reconnectTimeout
- reconnectTries
- resumeTimeout
- send
Properties
autoResume
• Optional
autoResume: boolean
Whether to automatically resume playback after a disconnect.
Defined in
clientId
• Optional
clientId: null
| string
The client ID associated with the Ruvyrias instance.
Defined in
clientName
• Optional
clientName: string
The name of the client using Ruvyrias.
Defined in
clientVersion
• Optional
clientVersion: number
The version number of the client using Ruvyrias.
Defined in
defaultPlatform
• Optional
defaultPlatform: SupportedPlatforms
The default platform for resolving tracks if not specified.
Defined in
isActivated
• Optional
isActivated: boolean
Indicates whether the Ruvyrias instance is activated or not.
Defined in
library
• library: SupportedLibraries
The library used for communication (e.g., 'discord.js', 'eris', etc.).
Defined in
plugins
• Optional
plugins: Plugin
[]
An array of plugins to be used with Ruvyrias.
Defined in
reconnectTimeout
• Optional
reconnectTimeout: null
| number
Timeout duration in milliseconds for attempting reconnection to nodes.
Defined in
reconnectTries
• Optional
reconnectTries: null
| number
Number of reconnection attempts allowed before giving up.
Defined in
resumeTimeout
• Optional
resumeTimeout: number
Timeout duration in milliseconds for automatic resuming of playback.
Defined in
send
• Optional
send: null
| Function
A function used for sending packets to the communication library.