You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hello i have been struggling in the setting on my event on this module due to the fact i still use contextual commands.
the doc says to use :
// add the trackStart event so when a song will be played this message will be sentplayer.on("trackStart",(queue,track)=>queue.metadata.channel.send(`🎶 | Now playing **${track.title}**!`))
but in the default metadata itself this is the channel so we dont need to use queue.metadata.channel.send("") but only queue.metadata.send("") thanks to : "Darth_Vader_Lightsaber#1320" for helping me figure this out
for example my self on my bot i use : ```js
queue.metadata.send(${track.requestedBy} we Started playing ${track.title} in **${queue.connection.channel.name}** 🎧);});
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
hello i have been struggling in the setting on my event on this module due to the fact i still use contextual commands.
the doc says to use :
but in the default metadata itself this is the channel so we dont need to use
queue.metadata.channel.send("")
but onlyqueue.metadata.send("")
thanks to : "Darth_Vader_Lightsaber#1320" for helping me figure this outfor example my self on my bot i use : ```js
queue.metadata.send(
${track.requestedBy} we Started playing ${track.title} in **${queue.connection.channel.name}** 🎧
);});Beta Was this translation helpful? Give feedback.
All reactions