Closed LackyPal closed 3 years ago
Read the docs first. Beta is the beta of next major version (3.0.0-beta)
https://distube.js.org/#/docs/DisTube/beta/class/DisTube?scrollTo=e-error
According to the docs, TextChannel
is the first param, not the sencond one (is the second param in your situation because you binded bot
)
That's mean, we cannot use event handler ??
That's mean, we cannot use event handler ??
Just delete message
param .-.
As you say TextChannel
is the first param, so does we have to write it as execute(channel, error, bot)
?
Or we can write it as execute(bot, channel, error)
too
As you say
TextChannel
is the first param, so does we have to write it asexecute(channel, error, bot)
? Or we can write it asexecute(bot, channel, error)
too
According to the docs, TextChannel
is the first param, not the second one.
But it is the second param in your situation because you bound bot
Whenever i try to play a song, it's giving the errors
channel.send is not a function
. It's also not playing anything. There is a problem on error event. I'm using command handler.The following is my error event code