Fixed bug in the handling of server output. Bot is now ready for including more commands