Yep, sounds like you've patched your client to OSBot.
Try opening the origin OSBot.jar file, click the "Patch client" button and then unpatch your game client.
I might be wrong but you could do something like:
If widget exists and contains message(int 1-20 minutes)
But another easy option could be to just store the time in memory from where you teleported and count down 20 mins?
To be honest this happens to me randomly even when not using OSBot.. I'm starting to think it's not an OSBot issue and rather a Jagex issue... Reddit seems to confirm this is a common issue with jagex launcher
Tweaked the death handling on this to handle pvp situations (killing moss giants in deep wild)
VERY happy with this one! Can't wait to see this on this SDN