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: {} };