Removed if-else statement. I figured that even if the Config['bot_type'] == 1 has value 1 or any other value the result will be the same, to call the runbot() function. So the usage of the if-else statement is actually unnecessary. I don't play the smart guy or anything, I just found these unnecessary lines of code and replaced them with an equivalent one. If you don't like my changes feel free to close my PR. Thank you !
Removed if-else statement. I figured that even if the
Config['bot_type'] == 1
has value 1 or any other value the result will be the same, to call the runbot() function. So the usage of the if-else statement is actually unnecessary. I don't play the smart guy or anything, I just found these unnecessary lines of code and replaced them with an equivalent one. If you don't like my changes feel free to close my PR. Thank you !