Rewriting code to use Bot::BasicBot for sockets
Creating sockets with Bot::BasicBot