DJWoodZ / FS22-Discord-Bot

A Discord bot that posts Farming Simulator 22 Dedicated Server status information such as online players.
MIT License
10 stars 2 forks source link

Changing message frequency #2

Closed sigvaldr closed 7 months ago

sigvaldr commented 7 months ago

The players on my server are complaining that the bot posts update message (the ones that say how much money was gained or lose, and the playtime of the savegame) too frequently. I took a brief look through the source but couldn't determine where this value was set. Could you please point me in the correct direction?

DJWoodZ commented 7 months ago

Hi @sigvaldr,

The messages related to the savegame (money and play time) are posted whenever a change is detected. Therefore, the frequency of those messages are determined by the 'Save Interval' setting of your dedicated server. You could try increasing this value in your server's settings.

The FS22_BOT_POLL_INTERVAL_MINUTES setting for this bot determines how often it checks for changes. However, this would typically be a low value.