refactor starting the bot to be nicer