Starting with version 2917, the bot no longer has hardcoded actions it takes when a new city is captured or built. The previous actions have been removed to txt files located in the bot's folder: NewCityGoals.txt and NewCityScript.txt.
You can edit these files with any text editor like Notepad for example. Place any goals you wish the city to have in the NewCityGoals.txt file, and it will be loaded when a new city is captured or built, even if you're afk.
The default NewCityGoals.txt file contains the following:
config comfort:1,gate:1 // config trade:1 build c:1 troop a:1,warr:1,wo:1,p:1,sw:1,cav:1,cata:1,ram:1,cp:1,s:1 fortification trap:10,ab:10,at:1,r:10,rock:10
If you are also using GlobalGoals, then PrependGoals.txt and AppendGoals.txt will be called before NewCityGoals.txt is loaded.
See also: NewCityScript