#Cant get the collect command to work
13 messages · Page 1 of 1 (latest)
- 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!
the item income timer doesnt work either and when the command works, the item doesnt get added to the inventory
i think you meant to use the filter method there, not findOne
nope, still wont work T_T
You're not using the x.updateOne function anywhere? How are you trying to edit the cooldown, inventory, and balance?
where?
i updated the git
can you check if its correct please
i get this issue: TypeError: UserIncomeRedeemTimeModel.updateOne is not a function at Object.execute (C:\Users\ITG 2º DAW PC07\Documents\NationsRP-Premium\NationsRP-Premium\commands\IncomeRoles\collect.js:48:39) at async Object.execute (C:\Users\ITG 2º DAW PC07\Documents\NationsRP-Premium\NationsRP-Premium\events\interactionCreate.js:34:9)
@frigid oyster