fixed bot crashing on certain commands