Bot goes offline / NullReferenceException at UpdateStatusError
This thread has been made before, with 2 months no answer.  I got the bot working and it shows the population when the server first starts, or when i reload the plugin. But after around 5-10 minutes it goes offline in the discord.
@OneSadBoii

Search for DiscordGSM on the discord bot page. You can host it yourself, trough Heroku or self-hosted. This is purely a discord bot that's only connected to your server for the stats. Nothing else. This discord bot doesn't work anymore and I use this as it can be connected with more kinds of game servers as well.

For the devs...
no, I'm not advertising, I'm just showing the right direction for them to look at.
Failed to run a 5.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.DiscordClient.UpdateStatus (Oxide.Ext.Discord.DiscordObjects.Presence presence) [0x0001c] in :0 
  at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0005f] in <0f49885a0ea0438ebf644cac679c3bd4>:0 
  at Oxide.Plugins.DiscordStatus.m__0 () [0x00000] in <0f49885a0ea0438ebf644cac679c3bd4>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in :0 

what can i do with this problem ? :( 

i got exactly same issue, it seems like it all works for some time on discord, then i notice bot offline, reload plugin and it works for a period of time... i then see the same errors as you report above in my console window if i scroll back up
works but every 20 min or so the players tab disapears and it loses connection like literally every 10 min i have to o.reload just so it shows what its supposed to can some update it......

@any deveolper

Merged post

so i found a work around here 

https://umod.org/plugins/timed-execute

in config put
{
"EnableInGameTime-Timer": false,
"EnableRealTime-Timer": true,
"EnableTimerOnce": false,
"EnableTimerRepeat": true,
"InGameTime-Timer": {},
"RealTime-Timer": {},
"TimerOnce": {
"o.reload DiscordStatus": 900,
"reset.timeronce": 180
},
"TimerRepeat": {
"o.reload DiscordStatus": 900,
}
}

(16:32:01) | Failed to run a 10.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Ext.Discord.DiscordClient.UpdateStatus (Oxide.Ext.Discord.DiscordObjects.Presence presence) [0x0001c] in <a141f1996e934ec597a4fcdd8f3a7ede>:0

at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0005f] in <6b9a18131115453d894bad6cca97b776>:0

at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <6b9a18131115453d894bad6cca97b776>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <cf88a28c7fb44d36890d85a78331cc9d>:0

Failed to run a 5.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Ext.Discord.DiscordClient.UpdateStatus (Oxide.Ext.Discord.DiscordObjects.Presence presence) [0x0001c] in <a141f1996e934ec597a4fcdd8f3a7ede>:0 
  at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0005f] in <990c643502cb485a93eda4bea5389126>:0 
  at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <990c643502cb485a93eda4bea5389126>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <cf88a28c7fb44d36890d85a78331cc9d>:0  

I get this error

Failed to run a 5.00 timer in 'DiscordStatus v2.0.4' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.DiscordClient.UpdateStatus (Oxide.Ext.Discord.DiscordObjects.Presence presence) [0x0001c] in <618cbb3cd1f24a338ef71fa504209e7a>:0
at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0005f] in <cbe9536b416049ea8e5987e9078228a0>:0
at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <cbe9536b416049ea8e5987e9078228a0>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <cf88a28c7fb44d36890d85a78331cc9d>:0
Every like 10 min or something, the bot stops working and I have to reload it every time. Why is this and what is causing it