Tomato6966 / Multipurpose-discord-bot

A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.
https://milrato.com
MIT License
586 stars 609 forks source link

Cannot read properties of undefined (reading 'get') could anyone help me? #47

Closed LeviAckerman1234 closed 2 years ago

LeviAckerman1234 commented 2 years ago

Cannot read properties of undefined (reading 'get') can anyone help me?

mooogah commented 2 years ago

Can you please show the error in full

LeviAckerman1234 commented 2 years ago

=== UNHANDLED REJECTION === Reason: TypeError: Cannot read properties of undefined (reading 'get') at CronJob. (/Users/gurveerbal/Multipurpose-discord-bot/handlers/mute.js:64:33) at CronJob.fireOnTick (/Users/gurveerbal/Multipurpose-discord-bot/node_modules/cron/lib/cron.js:600:23) at Timeout.callbackWrapper [as _onTimeout] (/Users/gurveerbal/Multipurpose-discord-bot/node_modules/cron/lib/cron.js:667:10) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7) === UNHANDLED REJECTION ===

TypeError: Cannot read properties of undefined (reading 'get') at check_voice_channels (/Users/gurveerbal/Multipurpose-discord-bot/handlers/functions.js:2106:50) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:526:9) at processTimers (node:internal/timers:500:7) TypeError: Cannot read properties of undefined (reading 'get') at check_voice_channels (/Users/gurveerbal/Multipurpose-discord-bot/handlers/functions.js:2106:50) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:526:9) at processTimers (node:internal/timers:500:7) TypeError: Cannot read properties of undefined (reading 'get') at check_voice_channels (/Users/gurveerbal/Multipurpose-discord-bot/handlers/functions.js:2106:50) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:526:9) at processTimers (node:internal/timers:500:7) TypeError: Cannot read properties of undefined (reading 'get') at check_voice_channels (/Users/gurveerbal/Multipurpose-discord-bot/handlers/functions.js:2106:50) at runNextTicks (node:internal/process/task_queues:61:5) at listOnTimeout (node:internal/timers:526:9) at processTimers (node:internal/timers:500:7) === UNCAUGHT EXCEPTION MONITOR ===

=== UNCAUGHT EXCEPTION === Exception: TypeError: Cannot read properties of undefined (reading 'filter') at CronJob. (/Users/gurveerbal/Multipurpose-discord-bot/handlers/autonsfw.js:13:38) at CronJob.fireOnTick (/Users/gurveerbal/Multipurpose-discord-bot/node_modules/cron/lib/cron.js:600:23) at Timeout.callbackWrapper [as _onTimeout] (/Users/gurveerbal/Multipurpose-discord-bot/node_modules/cron/lib/cron.js:667:10) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7) === UNCAUGHT EXCEPTION ===

=== UNHANDLED REJECTION === Reason: TypeError: Cannot read properties of undefined (reading 'ensure') at CronJob. (/Users/gurveerbal/Multipurpose-discord-bot/handlers/mute.js:25:22) at CronJob.fireOnTick (/Users/gurveerbal/Multipurpose-discord-bot/node_modules/cron/lib/cron.js:600:23) at Timeout.callbackWrapper [as _onTimeout] (/Users/gurveerbal/Multipurpose-discord-bot/node_modules/cron/lib/cron.js:667:10) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7) === UNHANDLED REJECTION ===

=== UNHANDLED REJECTION === Reason: TypeError: Cannot read properties of undefined (reading 'get') at CronJob. (/Users/gurveerbal/Multipurpose-discord-bot/handlers/mute.js:64:33) at CronJob.fireOnTick (/Users/gurveerbal/Multipurpose-discord-bot/node_modules/cron/lib/cron.js:600:23) at Timeout.callbackWrapper [as _onTimeout] (/Users/gurveerbal/Multipurpose-discord-bot/node_modules/cron/lib/cron.js:667:10) at listOnTimeout (node:internal/timers:557:17) at processTimers (node:internal/timers:500:7) === UNHANDLED REJECTION ===

Can you please show the error in full

philipp435 commented 2 years ago

me too but i have changed the emojis and i have changed the language to DE

LeviAckerman1234 commented 2 years ago

any fix on this?

philipp435 commented 2 years ago

hello any1 here?

LeviAckerman1234 commented 2 years ago

hello?

LeviAckerman1234 commented 2 years ago

its breaking the entire code

LeviAckerman1234 commented 2 years ago

anyone there?

Tomato6966 commented 2 years ago

while u are starting the BOT, it could not load the DATABASES

make sure to do npm install and have nodejs as well as python installed make sure the installation process works without having errors

if u are planning on reinstalling it, make sure to delete node_modules

LeviAckerman1234 commented 2 years ago

ah u think python would be the problem? i forgot to download it lol

LeviAckerman1234 commented 2 years ago

i downloaded python but the same error keeps coming up

LeviAckerman1234 commented 2 years ago

plz help me bro

LeviAckerman1234 commented 2 years ago

hello?

Tomato6966 commented 2 years ago

I can just repeat

or check the https://github.com/Tomato6966/Multipurpose-discord-bot/wiki MAybe enmap installation guide helps? https://enmap.evie.dev/install/

while u are starting the BOT, it could not load the DATABASES

make sure to do npm install and have nodejs as well as python installed make sure the installation process works without having errors

if u are planning on reinstalling it, make sure to delete node_modules