From 79f4d5daac66c53606b3476b13a31b81ff0962ed Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Sun, 27 Dec 2020 00:02:30 +0100 Subject: [PATCH] :label: Fix typings --- typings/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/typings/index.d.ts b/typings/index.d.ts index ce100f2..4f75860 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -1,7 +1,7 @@ declare module 'discord-player' { import { EventEmitter } from 'events'; import { Client, Collection, Message, MessageCollector, Snowflake, User, VoiceChannel, VoiceConnection } from 'discord.js'; - import { result as YtplPlaylist } from 'ytpl'; + import { Playlist as YTSRPlaylist } from 'youtube-sr'; import { Stream } from 'stream'; export const version: string; @@ -67,7 +67,7 @@ declare module 'discord-player' { thumbnail: string; requestedBy: User; } - type Playlist = YtplPlaylist & CustomPlaylist; + type Playlist = YTSRPlaylist & CustomPlaylist; interface PlayerEvents { searchResults: [Message, string, Track[]]; searchInvalidResponse: [Message, string, Track[], string, MessageCollector];