From 1437698572f8b574e5b271b502c7287479bff5c1 Mon Sep 17 00:00:00 2001 From: Snowflake107 Date: Sun, 9 May 2021 22:14:02 +0545 Subject: [PATCH] change autoSelfDeaf to setSelfDeaf --- src/types/types.ts | 2 +- src/utils/Constants.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/types.ts b/src/types/types.ts index 9e57e90..546be00 100644 --- a/src/types/types.ts +++ b/src/types/types.ts @@ -8,7 +8,7 @@ export interface PlayerOptions { leaveOnStop?: boolean; leaveOnEmpty?: boolean; leaveOnEmptyCooldown?: number; - autoSelfDeaf?: boolean; + setSelfDeaf?: boolean; enableLive?: boolean; ytdlDownloadOptions?: downloadOptions; useSafeSearch?: boolean; diff --git a/src/utils/Constants.ts b/src/utils/Constants.ts index ef5eb1b..4e5d287 100644 --- a/src/utils/Constants.ts +++ b/src/utils/Constants.ts @@ -34,7 +34,7 @@ export const PlayerOptions: DP_OPTIONS = { leaveOnStop: true, leaveOnEmpty: true, leaveOnEmptyCooldown: 0, - autoSelfDeaf: true, + setSelfDeaf: true, enableLive: false, ytdlDownloadOptions: {} };