Updating the Interaction methods to the latest discord.js version
interaction.defer() -> interaction.deferReply()
interaction.get() -> interaction.getString()
Fixing the audio resource. The track was not being played and the parameters passed to ytdl() method was throwing an error, these parameters have been removed. Also, use probe.stream as parameter to createAudioResource makes the track don't be played, I changed this parameter to a ytdl method, imported from ytdl-core: await ytdla(this.url). These two modifications makes the bot work normally... (Sorry if I speak something wrong. I don't speak english very well =D)
Updating the Interaction methods to the latest discord.js version
Fixing the audio resource. The track was not being played and the parameters passed to ytdl() method was throwing an error, these parameters have been removed. Also, use probe.stream as parameter to createAudioResource makes the track don't be played, I changed this parameter to a ytdl method, imported from ytdl-core: await ytdla(this.url). These two modifications makes the bot work normally... (Sorry if I speak something wrong. I don't speak english very well =D)