I need help load all items definition from .json files
So in my current code, it work fine loading all items, the main problem is it cant load other data from .json it only able to load quantity from database. and Json it only load items.json but not other
https://sourceb.in/SiVynBK4hZ
it is from items.json
eq is from equipments.json
sk is from skills.json
Note: all these files work if if i call it in their inventory (only have 1 jon file). I am trying to load all kind of definition in here.
![No description](https://cdn.answeroverflow.com/1162406175283884143/image.png)
![No description](https://cdn.answeroverflow.com/1162406175661375608/image.png)
3 Replies
- 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 OPhere is data definition
Not a discord.js issue
#other-js-ts