Bunny command: TypeError: Cannot read properties of undefined (reading 'data') #162

Closed
opened 2022-06-05 13:18:11 +01:00 by Vylpes · 1 comment
Vylpes commented 2022-06-05 13:18:11 +01:00 (Migrated from github.com)
/home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:41
            const randomSelect = data[random].data;
                                              ^

TypeError: Cannot read properties of undefined (reading 'data')
    at /home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:41:47
    at Generator.next (<anonymous>)
    at fulfilled (/home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:5:58)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
```bash /home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:41 const randomSelect = data[random].data; ^ TypeError: Cannot read properties of undefined (reading 'data') at /home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:41:47 at Generator.next (<anonymous>) at fulfilled (/home/vylpes/vylbot/node_modules/random-bunny/dist/index.js:5:58) at processTicksAndRejections (node:internal/process/task_queues:96:5) ```
Vylpes commented 2022-06-05 14:13:45 +01:00 (Migrated from github.com)

This is actually an issue with the random-bunny package

This is actually an issue with the random-bunny package
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: RabbitLabs/vylbot-app#162
No description provided.