kennethrisa / discord-rustserverstatus

Updates activity status on discord bot and displays how many players are connect to your rust server from rest api
MIT License
22 stars 15 forks source link

[BUG] Unhandled promise rejection: Error: Cannot find module #41

Closed P4R4NORM4L closed 3 years ago

P4R4NORM4L commented 3 years ago

When trying to use the Rcon feature from Discord basically it's trying to find the config file in the root of the discord bot folder it does not read it from the actual config directory

rcon/app.js line 5 is the issue here it's trying to find the config.json in the root of the directory, but aren't the config files for the servers in /config/serverX.json ?