#Stopping player listener

4 messages · Page 1 of 1 (latest)

knotty bough
#
player.on("stateChange", (oldState , newState)=>{
        ...
})

i have this listener on my player and i want it to stop listening after a while how can i do it?

twin gladeBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

knotty bough
#

isnt there a way to do it without having to pass the listener ?