You have to change the bot_melee_percent and the botskill parameters on the ESF bots. My guess is that you probably have them on low values, hence you think that they suck. Press = in the game to bring up the bot-menu, using which you can configure your bots. (This is for ESF Bots)