Bot goes offline / NullReferenceException at UpdateStatusError
(12:07:46) | Failed to run a 3.00 timer in 'DiscordStatus v1.2.0' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x000fc] in <721e9d97a6fb41eea18ab52d5279367c>:0
at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <721e9d97a6fb41eea18ab52d5279367c>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0

(12:08:59) | [Discord Ext] An error has occured: Response: An error has occurred in sending data.



Merged post

Edit: Nevermind, one letter was missing in the token.
Failed to run a 3.00 timer in 'DiscordStatus v1.2.0' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x000fc] in :0 at Oxide.Plugins.DiscordStatus.m__0 () [0x00000] in :0 at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0 [DiscordExt] Invalid Session ID opcode recieved!
Hello, I followed the steps and I have added the dll, the token. But even so the bot is turned off and I get the following when reloading the plugin.
(19:29:01) | Calling 'OnPlayerInit' on 'RustIO v2.15.0' took 148ms
(19:29:02) | Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0002c] in <b96a4b4a462541e095242e5ed71792c3>:0 
  at Oxide.Plugins.DiscordStatus.<OnUserConnected>m__2 () [0x00000] in <b96a4b4a462541e095242e5ed71792c3>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <4452f821def6406d834e4149849fe7ea>:0
(19:29:02) | [TRT] Nitrox[13766924/76561198848991154] has entered the game
(19:29:03) | DiscordStatus was compiled successfully in 1642ms
(19:29:03) | Unloaded plugin Discord Status v1.2.1 by Tricky
(19:29:03) | Loaded plugin Discord Status v1.2.1 by Tricky
(19:29:06) | [Discord Ext] An error has occured: Response: An error has occurred in sending data.
(19:29:09) | [Discord Ext] An error has occured: Response: An error has occurred in sending data.
(19:29:09) | Unloaded plugin Discord Status v1.2.1 by Tricky
(19:29:09) | Loaded plugin Discord Status v1.2.1 by Tricky
(19:29:10) | [Discord Ext] An error has occured: Response: An exception has occurred during the OnClose event.​

https://gyazo.com/2d1d443237aba9261ce12a6ad9272b74

Hi I just got this error in the console which also stopped my bot from working. How do I fix?

(17:03:51) | Failed to run a 3.00 timer in 'DiscordStatus v1.0.0' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0002c] in <8189b77d47144c80829d75c5c54336ce>:0

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

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

Hello Loving this plugin! Main issue is updating to Master caused this error and killed the bot... Running older version on two other servers working fine but on my main server I get this error please advise:
 Exception while calling NextTick callback (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0002c] in <25b15a4fd56c40f6831b9eba8ebe722d>:0 
  at Oxide.Plugins.DiscordStatus.<OnUserDisconnected>m__3 () [0x00000] in <25b15a4fd56c40f6831b9eba8ebe722d>:0 
  at Oxide.Core.OxideMod.OnFrame (System.Single delta) [0x00051] in <4452f821def6406d834e4149849fe7ea>:0


Merged post

Solved: deleting config then reinstall and reboot server fixed it for me :) Thanks for the input guys. Reading is fundamental. XD

Seen another post about this below but it doesn't fix it for me


(11:59:07) | [DiscordExt] Invalid Session ID opcode recieved!

(11:59:11) | Failed to run a 5.00 timer in 'DiscordStatus v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)

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

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

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

Failed to run a 5.00 timer in 'DiscordStatus v2.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x0005f] in <93b454a9f13b48c6b9064a38c2a802b6>:0
at Oxide.Plugins.DiscordStatus.<OnServerInitialized>m__0 () [0x00000] in <93b454a9f13b48c6b9064a38c2a802b6>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0
Failed to run a 5.00 timer in 'DiscordStatus v2.0.3' (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 <5766f19e268f4adeb1d2e03b51e61a7d>:0
at Oxide.Plugins.DiscordStatus.m__0 () [0x00000] in <5766f19e268f4adeb1d2e03b51e61a7d>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0
Failed to run a 3.00 timer in 'DiscordStatus v1.1.0' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.DiscordStatus.UpdateStatus () [0x00074] in :0
at Oxide.Plugins.DiscordStatus.m__0 () [0x00000] in :0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0
same issue and it makes DiscordCommand crashing tho

Merged post

all my discord bot are broken
Same issue here. Bot is offline. Error below

Failed to run a 5.00 timer in 'DiscordStatus v2.0.3' (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 :0 
  at Oxide.Plugins.DiscordStatus.m__0 () [0x00000] in :0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <4452f821def6406d834e4149849fe7ea>:0 ​
i don't get why so suddenly,i did the oxide update yesterday all was running fine until now.
I have not done anything since the manditory update. Was working fine until maybe an hour or 2 ago
And now it is back online