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
599 stars 614 forks source link

ERROR WITH SHARDED VERSION #159

Closed SHASHANK2341 closed 2 years ago

SHASHANK2341 commented 2 years ago

C:\Users\n5463\OneDrive\Desktop\CODING\Multipurpose-discord-bot-sharded_with_mongo\node_modules\discord-hybrid-sharding\src\Core\ClusterManager.js:62 if(options.keepAlive) throw new Error('keepAlive is not supported anymore on and above v1.6.0. Import it as plugin ("HeartBeatManager"), therefore check the libs readme'); ^

Error: keepAlive is not supported anymore on and above v1.6.0. Import it as plugin ("HeartBeatManager"), therefore check the libs readme at new ClusterManager (C:\Users\n5463\OneDrive\Desktop\CODING\Multipurpose-discord-bot-sharded_with_mongo\node_modules\discord-hybrid-sharding\src\Core\ClusterManager.js:62:37) at Object. (C:\Users\n5463\OneDrive\Desktop\CODING\Multipurpose-discord-bot-sharded_with_mongo\index.js:9:17) at Module._compile (node:internal/modules/cjs/loader:1097:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) at Module.load (node:internal/modules/cjs/loader:975: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

Tomato6966 commented 2 years ago

make sure to use the versions from the package.json and do not update the packages which have MAJOR BREAKING CHANGES!

npm i discord-hybrid-sharding@1.5