-
-
Notifications
You must be signed in to change notification settings - Fork 283
Open
Description
can someone make me this code match with the bot packages and stuffs
i tryed myself but i still have issues with it
module.exports = {
help: {
name: "8d",
aliases: []
},
run: async (client, message, args) => {
if (!message.member.voice.channel) return message.channel.send("❌ | You are not in a voice channel!");
if (message.guild.me.voice.channel && message.member.voice.channel.id !== message.guild.me.voice.channel.id) return message.channel.send("❌ | You are not in my voice channel!");
if (!client.player.isPlaying(message.guild.id)) {
return message.channel.send("❌ | I'm not playing anything?");
}
const edEnabled = await client.player.getQueue(message.guild.id).filters["8D"];
client.player.setFilters(message.guild.id, {
"8D": !edEnabled
});
return message.channel.send(`✅ | 8D ${!edEnabled ? "Enabled" : "Disabled"}!`)
}
};
tnx
Metadata
Metadata
Assignees
Labels
No labels