An error I do not understand

I made a balance command that gives an error that I dont understand
6 Replies
d.js toolkit
d.js toolkit3mo ago
- 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!
! MYA
! MYAOP3mo ago
hres the src code
! MYA
! MYAOP3mo ago
SourceBin
balance.js
Instantly share your code with the world.
! MYA
! MYAOP3mo ago
and the error is`
CombinedPropertyError (2)
Received one or more errors

input[0]
| CombinedPropertyError (1)
| Received one or more errors
|
| input.value
| | ValidationError > s.string
| | Expected a string primitive
| |
| | Received:
| | | 100

input[1]
| CombinedPropertyError (1)
| Received one or more errors
|
| input.value
| | ValidationError > s.string
| | Expected a string primitive
| |
| | Received:
| | | 0
CombinedPropertyError (2)
Received one or more errors

input[0]
| CombinedPropertyError (1)
| Received one or more errors
|
| input.value
| | ValidationError > s.string
| | Expected a string primitive
| |
| | Received:
| | | 100

input[1]
| CombinedPropertyError (1)
| Received one or more errors
|
| input.value
| | ValidationError > s.string
| | Expected a string primitive
| |
| | Received:
| | | 0
Its the first time iv seen an error like this before!
Mark
Mark3mo ago
You're passing numbers where strings are required Guessing this is an embed field, you should look at what type of value it accepts
! MYA
! MYAOP3mo ago
Ohh ok ty
Want results from more Discord servers?
Add your server