I would like my bot when I restart it or crash it activates an event that deletes momentary data. I tried using on_disconnect as an event but it doesn\'t work. In the code below