umutxyp / MusicBot

An enhanced music bot that is compatible with discord.js v14 and works with slash commands. Discord music bot codes that can be used on any server and are simple to install.
https://discord.gg/codes
982 stars 1.07k forks source link

CAnt run the bot because of one error how to fix it? #68

Closed Programmetajs closed 1 year ago

Programmetajs commented 1 year ago

$ node . /app/index.js:3 if(config.shardManager.shardStatus == true){ ^

TypeError: Cannot read properties of undefined (reading 'shardStatus') at Object. (/app/index.js:3:24) at Module._compile (node:internal/modules/cjs/loader:1103:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47

umutxyp commented 1 year ago

Do not delete anything in the project's settings file. Use the current settings file, do not play with filenames.

Programmetajs commented 1 year ago

But i didnt. I just cloned it. And it is like that.