You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: commands/Filters/BassBoost.js
+14-18Lines changed: 14 additions & 18 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
const{ EmbedBuilder }=require('discord.js');
2
2
3
-
module.exports={
3
+
module.exports={
4
4
config: {
5
5
name: "bassboost",
6
6
description: "Turning on bassboost filter",
@@ -10,15 +10,13 @@ module.exports = {
10
10
aliases: ["bb"]
11
11
},
12
12
run: async(client,message,args)=>{
13
-
constplayer=client.manager.get(message.guild.id);
14
-
if(!player)returnmessage.channel.send(`No playing in this guild!`);
15
-
const{ channel }=message.member.voice;
16
-
if(!channel||message.member.voice.channel!==message.guild.members.me.voice.channel)returnmessage.channel.send(`I'm not in the same voice channel as you!`);
if(!player)returnmessage.channel.send(`No playing in this guild!`);
15
+
const{ channel }=message.member.voice;
16
+
if(!channel||message.member.voice.channel!==message.guild.members.me.voice.channel)returnmessage.channel.send(`I'm not in the same voice channel as you!`);
0 commit comments