how do i make a command where the bot picks a msg to send with a whole bunch of other msgs
idk how to explain if u need me to eleborate more just ask
6 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!Make an array of messages and pick random element from it
wow that was fast
how do i do the pick random element from it part
That's basic JS question
https://www.google.com/search?q=random%20element%20in%20array%20js
sorry im kinda new to v14 js
Its not discord.js it basic js