From 8d80d82caaaa7432b96b10242e960d0f6080b5a9 Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Mon, 21 Jun 2021 11:50:19 +0545 Subject: [PATCH] types --- src/types/types.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/types.ts b/src/types/types.ts index 1a2c0bb..56444dd 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -121,7 +121,7 @@ export interface PlayerProgressbarOptions { * @property {boolean} [leaveOnEmpty=true] If it should leave on empty * @property {number} [leaveOnEmptyCooldown=1000] The cooldown in ms * @property {boolean} [autoSelfDeaf=true] If it should set the bot in deaf mode - * @property {object} [ytdlOptions={}] The youtube download options + * @property {YTDLDownloadOptions} [ytdlOptions={}] The youtube download options * @property {number} [initialVolume=100] The initial player volume */ export interface PlayerOptions { @@ -433,7 +433,7 @@ export interface PlaylistJSON { /** * @typedef {object} DiscordPlayerInitOptions * @property {boolean} [autoRegisterExtractor=true] If it should automatically register `@discord-player/extractor` - * @property {object} [ytdlOptions={}] The options passed to `ytdl-core` + * @property {YTDLDownloadOptions} [ytdlOptions={}] The options passed to `ytdl-core` */ export interface DiscordPlayerInitOptions { autoRegisterExtractor?: boolean;