skick1234 / DisTube

A powerful Discord.js module for simplifying music commands and effortless playback of various sources with integrated audio filters.
https://distube.js.org
MIT License
423 stars 94 forks source link

Jump Function #9

Closed ghost closed 4 years ago

ghost commented 4 years ago

Using the Jump Function returns an error saying that jump is not a function.

skick1234 commented 4 years ago

Can you show me your code? I don't think it's a bug.

ghost commented 4 years ago

const Discord = require("discord.js")

module.exports.run = async (bot, message, args, distube) => { distube.jump(message, args.join(" ")) .catch(err => message.channel.send(new Discord.MessageEmbed() ect ));

}

module.exports.config = { ect }

skick1234 commented 4 years ago

Maybe you added distube.jump = etc in somewhere else. Or distube is not DisTube. I don't detect any problem with your comment.

skick1234 commented 4 years ago

You can join DisTube Support Server for asking about your code. I'll close #9 cause it's not a package bug.