-
Instead, events are expected to be used for "Added to queue" messages in DisTube, which isn't a bad way to do it, until one wants to work with slash commands. Slash commands expect a reply using It is entirely possible I missed something in the docs that could make slash commands and DisTube.play() work. If that's the case, I apologize and would be happy to hear about how to do it. Thank you, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Use interaction.deferReply();
DisTube.play(channel, url, { metadata: { i: interaction } })
DisTube.on("addSong", (q, song) => {
song.metadata.i.editReply(...)
}) |
Beta Was this translation helpful? Give feedback.
-
There's a big issue with that. When the |
Beta Was this translation helpful? Give feedback.
Use
metadata
option to attach your interaction to the song/playlist