How create bot programatically?


If I am copy bot to data folder and have error

13:40:42.596 BotService Cannot mount bot “tes7”. Make sure it exists on the filesytem or the database. [Error, Incorrect environment undefined]

What need to register in the database?


Make sure that the bot is listed in data/global/workspaces.json under bots. Let me know if that works.


Also what version are you using?


Sorry, this is custom module error :frowning: Copy/paste to data folder work fine.