From 5d5ab1b90cc69d42536e574359514c3b20a47e41 Mon Sep 17 00:00:00 2001 From: Androz2091 Date: Thu, 23 Jul 2020 08:04:04 +0200 Subject: [PATCH] :pencil: Fix setFilters() method --- src/Player.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Player.js b/src/Player.js index c3d19f3..978c4ce 100644 --- a/src/Player.js +++ b/src/Player.js @@ -115,14 +115,14 @@ class Player { * const command = args.shift().toLowerCase(); * * if(command === 'bassboost'){ - * const bassboostEnabled = client.player.getQueue(message.guild.id); + * const bassboostEnabled = client.player.getQueue(message.guild.id).filters.bassboost; * if(!bassboostEnabled){ - * client.player.updateFilters(message.guild.id, { + * client.player.setFilters(message.guild.id, { * bassboost: true * }); * message.channel.send("Bassboost effect has been enabled!"); * } else { - * client.player.updateFilters(message.guild.id, { + * client.player.setFilters(message.guild.id, { * bassboost: false * }); * message.channel.send("Bassboost effect has been disabled!");