Autocomplete retreiving from database

So for example I have suspension system and I want to view someones suspension so like I'd write /suspensions list:user, am I able to make autocomplete retreive results from the database?
5 Replies
d.js toolkit
d.js toolkit3mo 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! - Marked as resolved by OP
treble/luna
treble/luna3mo ago
you can make it do anything you want You just have to respond within 3s
Shrewd 💫
Shrewd 💫OP3mo ago
autocomplete needs to autocomplete itself within 3 seconds or you mean that it needs to retreive it upon slash command execution
treble/luna
treble/luna3mo ago
You need to respond to the interaction within 3 seconds
Shrewd 💫
Shrewd 💫OP3mo ago
Alright, thank you sm
Want results from more Discord servers?
Add your server