Help on improving my bot

Thank you and i was referring to my gibberish code.

Which you have not shared. So, more efficient than your code is an undefined unknown.