hooked onkill function for bots