how to add dynamically data from sql to .addchoice()
When i register this command the options are not shown
10 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!Use autocomple option
why would they use autocomplete? the servers are already available to them, they don't need to get them from the outside
And...? To show choices dynamically, you'll have to use autocomplete, regardless of where the data comes from
wdym dynamically though? i don't think he wants to do anything "dynamic" here
Read the title...
oh i completely missed that, sorry
Well if SQL data sql dont change so much, it will be better to use choices
but the choices are not getting registered with the command