Bot won't come online after scheduled restarts
Usually I can iron this issue out myself but for some reason this time all the sudden my Rustcord bot won't come online after using SmoothRestarter for morning daily reboots. I can get it back online with oxide.reload Rustcord manually but for some reason even if I have the AutoRestart set on in my config the bot will never activate when SmoothRestarter does it thing at 4am my time.

I checked to see if I accidentally tested another Discord plugin and had one in my plugins folder but Rustcord is the only one on my server. And after self restarting numerous times today it appears even with manual reboots Rustcord won't activate for me unless I reload it via RCON.

I thought about maybe using the TimedExecute plugin but my users really need to know when the server shuts down and comes back up....most of them utilize Rustcord in Discord in that way besides watching what players are up to. Anything else I can check? I used to host my server on my home pc but now I am with Servernetic and thought maybe there is some conflict with their setup but support never returns tickets fast over there. I did notice a lag in it activating when I first put Rustcord on that server, took about an hour before the bot triggered any feed to the channel I put in there but now since then its pretty instant if I manual reload.

At a loss here lol. Like I said I usually can sort out issues like this but all my checks seem to show everything should work on reboots but its being stuborn. Any help is seriously appreciated.
Use GUIAnnouncement's built in restart and see if it works.
Appreciate the quick response OuTSMoKE.

I am actually using the GUIAnnouncement with SmoothRestarter to countdown the restart mechanism. That shows fine in game. Not sure if that was what you meant.

Oddly since I posted this the bot randomly went offline in Discord...no restart and the AutoRestart doesn't seem to be triggering now from the settings in Rustcord config. Guessing I got some setup in the bot permissions or something not firing off correctly but manual reboot of the plugin seems to correct it.

I will tinker with it, see if maybe I screwed up something but it was working fine and this just started happening since I ported the server over to Servermetic. They seem buggy anyways, their RCON built in never works so had to 3rd party it so suspecting its the service maybe causing me headaches. Appreciate the help, gonna see if I can't figure it out and if I spot the issue I will report it here for future users

Merged post

Think I found what might be going on OuTSMoKE...it appears the Ext.Discord.dll is having issues due to no updates lately.

Found this thread a few minutes ago https://umod.org/community/discord-status/8502-bot-goes-offline-nullreferenceexception-at-updatestatus

I just looked through my logs and its not just your pluggin but NPCDropGun, DiscordStatus and a few others on my server popping off with a null error on random mods: (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Ext.Discord.DiscordClient.UpdateStatus (Oxide.Ext.Discord.DiscordObjects.Presence presence)

So I am figuring the DLL is falling behind for some of us and some conflict between mods is present due to this. So for now I will just use the TimedExecute to repopulate the mods every now and then till a fix comes about. Figured pass it on