broadcast eval
If i wanted to use do
await this.client.shard.broadcastEval(findMembers, { context: { userId } });
, and the function findMembers had a variable called userId i wanted to pass in, whats the correct way of doing it? this is giving me the error that userId isnt defined.even tho userId itself is also defined earlier4 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Here an exemple of me using it in a function :
okay thank u ill try this