viewing paste Unknown #26540 | Javascript

Posted on the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
C:\Users\Derpy\minuettebot\app.js:34
for(i=0;i<botCommands.botCommands.length;i++) {
                                 ^
 
TypeError: Cannot read property 'length' of undefined
    at client.<anonymous> (C:\Users\Derpy\minuettebot\app.js:34:34)
    at client.EventEmitter.emit (C:\Users\Derpy\minuettebot\node_modules\tmi.js\lib\events.js:93:25)
    at client.handleMessage (C:\Users\Derpy\minuettebot\node_modules\tmi.js\lib\client.js:792:34)
    at C:\Users\Derpy\minuettebot\node_modules\tmi.js\lib\client.js:919:18
    at Array.forEach (native)
    at client._onMessage (C:\Users\Derpy\minuettebot\node_modules\tmi.js\lib\client.js:917:11)
    at WebSocket.onMessage (C:\Users\Derpy\minuettebot\node_modules\tmi.js\node_modules\ws\lib\WebSocket.js:442:14)
    at emitTwo (events.js:87:13)
    at WebSocket.emit (events.js:172:7)
    at Receiver.ontext (C:\Users\Derpy\minuettebot\node_modules\tmi.js\node_modules\ws\lib\WebSocket.js:841:10)
 
C:\Users\Derpy\minuettebot>
Viewed 382 times, submitted by unknown.