Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Command: 8d #66

Closed
anny414 opened this issue Dec 6, 2020 · 7 comments
Closed

Add Command: 8d #66

anny414 opened this issue Dec 6, 2020 · 7 comments

Comments

@anny414
Copy link

anny414 commented Dec 6, 2020

hear is a example

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"}!`)
    }
};
@SudhanPlayz
Copy link
Owner

SudhanPlayz commented Dec 6, 2020

But this is a music bot lol, oh wait its looks different than your title ._.

@anny414
Copy link
Author

anny414 commented Dec 6, 2020

But this is a music bot lol

i know so the bot will send 8d music with this command

@SudhanPlayz
Copy link
Owner

Why dont u make a pr?

@anny414
Copy link
Author

anny414 commented Dec 7, 2020

pr means ??

@Cahllagerfeld
Copy link

Its a Pull Request :D

@SudhanPlayz SudhanPlayz changed the title Add a 8d command please Add Command: 8d Dec 9, 2020
@SudhanPlayz
Copy link
Owner

What does 8d command do?

@anny414
Copy link
Author

anny414 commented Jan 27, 2021

have you ever listen 8d music on youtube So you will understand

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants