Asthriona/Yukiko

Cant run the bot when i type help

itsmarti123 opened this issue · 6 comments

YukikoDB: Can not connect Error: MongooseServerSelectionError: getaddrinfo ENOTFOUND yukiko
C:\Users\Admin\Downloads\Yukiko-master\Yukiko-master\index.js:24
bot.commands = new discord.Collection();
^

TypeError: Cannot set property 'commands' of undefined
at NativeConnection. (C:\Users\Admin\Downloads\Yukiko-master\Yukiko-master\index.js:24:18)
at NativeConnection.emit (events.js:315:20)
at C:\Users\Admin\Downloads\Yukiko-master\Yukiko-master\node_modules\mongoose\lib\connection.js:841:37
at processTicksAndRejections (internal/process/task_queues.js:75:11)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! yukiko@2.0.0 start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the yukiko@2.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Admin\AppData\Roaming\npm-cache_logs\2021-02-03T11_08_06_073Z-debug.log

hi!
I would like to ask you few question just to make sure its not a user error, but just know I'm currently trying to reproduce your issue on my machine.

What do you mean exactly by Cant run the bot when i type help ?
is there any error on start?
did you modify the code?
Edit: I forgot a question. What branch are you using?

Thank you.

Thats much more uselfull logs.
Your issue is the database.

MongooseError: Operation `users.findOne()` buffering timed out after 10000ms
    at Timeout.<anonymous>

Please make sure your MongoDB is configured and you get the YukikoDB Connecte message.
if you dont know how to setup mongoDB please read the README.md

you are very welcome :)