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 toolkit2y 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.
Shuttle
Shuttle2y 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
Turboman3000OP2y ago
ah nice thx
Want results from more Discord servers?
Add your server