📝 Fix setFilters() method
This commit is contained in:
parent
fda820432f
commit
5d5ab1b90c
1 changed files with 3 additions and 3 deletions
|
@ -115,14 +115,14 @@ class Player {
|
||||||
* const command = args.shift().toLowerCase();
|
* const command = args.shift().toLowerCase();
|
||||||
*
|
*
|
||||||
* if(command === 'bassboost'){
|
* if(command === 'bassboost'){
|
||||||
* const bassboostEnabled = client.player.getQueue(message.guild.id);
|
* const bassboostEnabled = client.player.getQueue(message.guild.id).filters.bassboost;
|
||||||
* if(!bassboostEnabled){
|
* if(!bassboostEnabled){
|
||||||
* client.player.updateFilters(message.guild.id, {
|
* client.player.setFilters(message.guild.id, {
|
||||||
* bassboost: true
|
* bassboost: true
|
||||||
* });
|
* });
|
||||||
* message.channel.send("Bassboost effect has been enabled!");
|
* message.channel.send("Bassboost effect has been enabled!");
|
||||||
* } else {
|
* } else {
|
||||||
* client.player.updateFilters(message.guild.id, {
|
* client.player.setFilters(message.guild.id, {
|
||||||
* bassboost: false
|
* bassboost: false
|
||||||
* });
|
* });
|
||||||
* message.channel.send("Bassboost effect has been disabled!");
|
* message.channel.send("Bassboost effect has been disabled!");
|
||||||
|
|
Loading…
Reference in a new issue