Autocomplete + Other options involved that make the autocomplete dependent on those option values

Am I able to get the waiting values of the slash command options to be used for the autocomplete? I have a channel option and user option, and depending on those the string option with autocomplete should change. So, I'm not sure if it's that the options are considered to have values when the slash command is still under process. Is there any way I can make it so the autocomplete options depend on the other options if the other options are being used as well? Using Discord.js 14.11.0 node 18.13.0
3 Replies
d.js toolkit
d.js toolkit11mo ago
- 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!
leguchi
leguchi11mo ago
https://sourceb.in/op8poTlmfv Sorry it's long, it's for the command /admin delete message for now, at least that's the one i'm working on currently
SourceBin
Autocomplete + Other options involved that make the autocomplete de...
Am I able to get the waiting values of the slash command options to be used for the autocomplete? I have a channel option and user option, and depending on those the string option with autocomplete should change. So, I'm not sure if it's that the options are considered to have values when the slash command is still under process. Is there any wa...
leguchi
leguchi11mo ago
Okay, thanks, I'll include that how can i get it to return channel though?