Dynamic Command Arg.

Hi, can i do dynamic command arguments with completion? For Example /trade offer <user> <item> <item> Should have Auto Completion with an Item List from the Current Inventory of the User
4 Replies
d.js toolkit
d.js toolkit15mo ago
• 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.
Turboman3000
Turboman300015mo ago
node@v18.16.0 discord.js@14.11.
Shuttle
Shuttle15mo ago
Yes you can, get the user items from your database and follow the autocomplete guide https://discordjs.guide/slash-commands/autocomplete.html
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
Turboman3000
Turboman300015mo ago
ah nice thx
Want results from more Discord servers?
Add your server