From 155df66ddf1657406f092e188fb20df751880afb Mon Sep 17 00:00:00 2001 From: JonnyBro Date: Sun, 19 Dec 2021 00:17:39 +0500 Subject: [PATCH] fix divorce and test ytdl --- base/Atlanta.js | 1 + commands/Economy/divorce.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/base/Atlanta.js b/base/Atlanta.js index ad20b21a..b7b6dfb4 100644 --- a/base/Atlanta.js +++ b/base/Atlanta.js @@ -49,6 +49,7 @@ class Atlanta extends Client { this.player = new Player(this, { ytdlDownloadOptions: { + filter: "audio", requestOptions: { headers: { cookie: this.config.youtubeToken diff --git a/commands/Economy/divorce.js b/commands/Economy/divorce.js index 7c8af77d..eaec6cfb 100644 --- a/commands/Economy/divorce.js +++ b/commands/Economy/divorce.js @@ -31,7 +31,7 @@ class Divorce extends Command { oldLover.save(); // Send success message - message.success("economy/divorce:SUCCESS", { username: user.username }); + message.success("economy/divorce:DIVORCED", { username: user.username }); } };