a general question about autocomplete
how would I show an array in autocomplete? I want foo and bar to be the 2 options that will show upon respond, the question is how do I do it?
4 Replies
⢠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.You need to return an array including an object with name and value properties
basically this:
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.