3urobeat / steam-comment-service-bot

📡 The most advanced Steam Account Manager Bot with mass coordinated comments/likes/favs/follows and plugin support
https://steamcommunity.com/id/3urobeatscommentbot
GNU General Public License v3.0
267 stars 41 forks source link

Bug Report #258

Open c5wld opened 3 weeks ago

c5wld commented 3 weeks ago

When Starting Program i get this error :

[ERROR] Unhandled Rejection Error! Reason: TypeError: Cannot read properties of undefined (reading 'length') at C:\Users\matib\Desktop\steam-comment-service-bot-master\src\dataManager\dataProcessing.js:34:40 at new Promise () at yourgroup (C:\Users\matib\Desktop\steam-comment-service-bot-master\src\dataManager\dataProcessing.js:32:16) at DataManager.processData (C:\Users\matib\Desktop\steam-comment-service-bot-master\src\dataManager\dataProcessing.js:161:24) at Controller._start (C:\Users\matib\Desktop\steam-comment-service-bot-master\src\controller\controller.js:263:21) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [2024-08-18 21:40:25 | WARN] Child Process exited with code 0! Attempting to restart... image

3urobeat commented 3 weeks ago

Hey, thanks for opening an issue.

It looks like you mangled your config, causing the bot to fail when trying to check what you set at yourgroup.
Did you remove that setting by accident?

If you'd like for me to take a look at it, you can post the content of your config.json file here.
Otherwise just restore it to default again and fill out the necessary settings again.

I already planned to improve checking for missing config settings to avoid a confusing error like this for new users. At the moment the bot only handles entirely corrupted configs, but in this case only one specific setting seems to be missing/broken.