Flotty
DIAdiscord.js - Imagine an app
•Created by Flotty on 1/30/2025 in #djs-questions
Issue with "custom" autocomplete
I will be sending the relevant parts of my code, I'm kind of new to this so please be patient,
I would like the command to load the user's options based on their inventory in mongoose, the autocomplete options don't load while the user tries to write in the item field, however the item is correctly used if the user writes the exact name (caps sensitive). I would like the autocomplete suggestions to be the user's available items, I have looked for the autocomplete in discord,js but I didn't quite understand how it should work for my case.
22 replies