magmastream 2.9.3-dev.17 → 2.9.3-dev.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +21 -12
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1308,11 +1308,7 @@ interface LavaPlayer {
|
|
|
1308
1308
|
connected: boolean;
|
|
1309
1309
|
ping: number;
|
|
1310
1310
|
};
|
|
1311
|
-
voice:
|
|
1312
|
-
token: string;
|
|
1313
|
-
endpoint: string;
|
|
1314
|
-
sessionId: string;
|
|
1315
|
-
};
|
|
1311
|
+
voice: LavalinkVoiceStateResponse;
|
|
1316
1312
|
filters: Record<string, unknown>;
|
|
1317
1313
|
}
|
|
1318
1314
|
/**
|
|
@@ -1917,16 +1913,29 @@ interface RestPlayOptions {
|
|
|
1917
1913
|
/** The audio effects. */
|
|
1918
1914
|
filters?: object;
|
|
1919
1915
|
/** voice payload. */
|
|
1920
|
-
voice?:
|
|
1921
|
-
token: string;
|
|
1922
|
-
sessionId: string;
|
|
1923
|
-
endpoint: string;
|
|
1924
|
-
channelId: string;
|
|
1925
|
-
};
|
|
1916
|
+
voice?: LavalinkVoiceStateUpdate;
|
|
1926
1917
|
/** Whether to not replace the track if a play payload is sent. */
|
|
1927
1918
|
noReplace?: boolean;
|
|
1928
1919
|
};
|
|
1929
1920
|
}
|
|
1921
|
+
/**
|
|
1922
|
+
* Lavalink voice state response
|
|
1923
|
+
*/
|
|
1924
|
+
type LavalinkVoiceStateResponse = {
|
|
1925
|
+
token: string;
|
|
1926
|
+
endpoint: string;
|
|
1927
|
+
sessionId: string;
|
|
1928
|
+
channelId: string | null;
|
|
1929
|
+
};
|
|
1930
|
+
/**
|
|
1931
|
+
* Lavalink voice state update
|
|
1932
|
+
*/
|
|
1933
|
+
type LavalinkVoiceStateUpdate = {
|
|
1934
|
+
token: string;
|
|
1935
|
+
endpoint: string;
|
|
1936
|
+
sessionId: string;
|
|
1937
|
+
channelId: string;
|
|
1938
|
+
};
|
|
1930
1939
|
/**
|
|
1931
1940
|
* ManagerInitOptions interface
|
|
1932
1941
|
*/
|
|
@@ -3736,4 +3745,4 @@ declare class SeyfertManager extends Manager {
|
|
|
3736
3745
|
}
|
|
3737
3746
|
|
|
3738
3747
|
export { AutoPlayPlatform, AutoPlayUtils, AvailableFilters, DiscordJSManager, DiscordenoManager, ErisManager, Filters, JSONUtils, JsonQueue, LoadTypes, MagmaStreamError, MagmaStreamErrorCode, MagmaStreamErrorNumbers, Manager, ManagerEventTypes, MemoryQueue, Node, OceanicManager, Player, PlayerStateEventTypes, PlayerUtils, Plugin, RedisQueue, Rest, SearchPlatform, SeverityTypes, SeyfertManager, SponsorBlockSegment, StateStorageType, StateTypes, Structure, TrackEndReasonTypes, TrackPartial, TrackSourceTypes, TrackUtils, UseNodeOptions };
|
|
3739
|
-
export type { AlbumSearchResult, AnyMessage, AnyUser, ArtistSearchResult, CPUStats, DiscordPacket, DistortionOptions, EndSpeakingEventVoiceReceiver, EndSpeakingEventVoiceReceiverData, EqualizerBand, ErrorOrEmptySearchResult, Exception, Extendable, FrameStats, IQueue, JsonConfig, KaraokeOptions, LavaPlayer, LavalinkInfo, LavalinkResponse, LoadType, Lyrics, LyricsEvent, LyricsEventType, LyricsFoundEvent, LyricsLine, LyricsLineEvent, LyricsNotFoundEvent, ManagerEvents, ManagerInitOptions, ManagerOptions, MemoryStats, NodeLinkGetLyrics, NodeLinkGetLyricsEmpty, NodeLinkGetLyricsError, NodeLinkGetLyricsMultiple, NodeLinkGetLyricsSingle, NodeMessage, NodeOptions, NodeStats, PlayOptions, PlayerEvent, PlayerEventType, PlayerEvents, PlayerOptions, PlayerStateUpdateEvent, PlayerUpdateVoiceState, PlaylistData, PlaylistInfoData, PlaylistRawData, PlaylistSearchResult, PodcastSearchResult, PortableMessage, PortableUser, RedisConfig, RestPlayOptions, ReverbOptions, RotationOptions, SearchQuery, SearchResult, SearchSearchResult, Severity, ShortSearchResult, ShowSearchResult, Sizes, SponsorBlockChapterStarted, SponsorBlockChaptersLoaded, SponsorBlockSegmentEventType, SponsorBlockSegmentEvents, SponsorBlockSegmentSkipped, SponsorBlockSegmentsLoaded, StartSpeakingEventVoiceReceiver, StartSpeakingEventVoiceReceiverData, StateStorageOptions, StationSearchResult, TimescaleOptions, Track, TrackData, TrackDataInfo, TrackEndEvent, TrackEndReason, TrackExceptionEvent, TrackPluginInfo, TrackSearchResult, TrackSourceName, TrackStartEvent, TrackStuckEvent, UseNodeOption, VibratoOptions, VoicePacket, VoiceReceiverEvent, VoiceServer, VoiceServerUpdate, VoiceState, WebSocketClosedEvent };
|
|
3748
|
+
export type { AlbumSearchResult, AnyMessage, AnyUser, ArtistSearchResult, CPUStats, DiscordPacket, DistortionOptions, EndSpeakingEventVoiceReceiver, EndSpeakingEventVoiceReceiverData, EqualizerBand, ErrorOrEmptySearchResult, Exception, Extendable, FrameStats, IQueue, JsonConfig, KaraokeOptions, LavaPlayer, LavalinkInfo, LavalinkResponse, LavalinkVoiceStateResponse, LavalinkVoiceStateUpdate, LoadType, Lyrics, LyricsEvent, LyricsEventType, LyricsFoundEvent, LyricsLine, LyricsLineEvent, LyricsNotFoundEvent, ManagerEvents, ManagerInitOptions, ManagerOptions, MemoryStats, NodeLinkGetLyrics, NodeLinkGetLyricsEmpty, NodeLinkGetLyricsError, NodeLinkGetLyricsMultiple, NodeLinkGetLyricsSingle, NodeMessage, NodeOptions, NodeStats, PlayOptions, PlayerEvent, PlayerEventType, PlayerEvents, PlayerOptions, PlayerStateUpdateEvent, PlayerUpdateVoiceState, PlaylistData, PlaylistInfoData, PlaylistRawData, PlaylistSearchResult, PodcastSearchResult, PortableMessage, PortableUser, RedisConfig, RestPlayOptions, ReverbOptions, RotationOptions, SearchQuery, SearchResult, SearchSearchResult, Severity, ShortSearchResult, ShowSearchResult, Sizes, SponsorBlockChapterStarted, SponsorBlockChaptersLoaded, SponsorBlockSegmentEventType, SponsorBlockSegmentEvents, SponsorBlockSegmentSkipped, SponsorBlockSegmentsLoaded, StartSpeakingEventVoiceReceiver, StartSpeakingEventVoiceReceiverData, StateStorageOptions, StationSearchResult, TimescaleOptions, Track, TrackData, TrackDataInfo, TrackEndEvent, TrackEndReason, TrackExceptionEvent, TrackPluginInfo, TrackSearchResult, TrackSourceName, TrackStartEvent, TrackStuckEvent, UseNodeOption, VibratoOptions, VoicePacket, VoiceReceiverEvent, VoiceServer, VoiceServerUpdate, VoiceState, WebSocketClosedEvent };
|