🏷️ Fix typings
This commit is contained in:
parent
fdf4a592d0
commit
79f4d5daac
1 changed files with 2 additions and 2 deletions
4
typings/index.d.ts
vendored
4
typings/index.d.ts
vendored
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue