Fixed reconnecting issues and modified bot start-up.
Edited Version