Answer the question
In order to leave comments, you need to log in
NodeJS | Bot | Error with value. How to fix?
Bracket expansion problem (I guess).
Error line - if(message.user.transport.car) text += `⠀Car: ${cars[message.user.transport.car - 1].name}\n`;
Error : Cannot read property 'name' of undefined
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question