Create Diablo2 bots with a powerful, stable, and high level JavaScript API.
const { createBot } = require('autotathamet')
async function start () {
const bot = await createBot({
host: 'battlenetIp',
username: 'myUser',
password: 'myPassword',
version: '1.14',
keyClassic: 'my16CharsKey',
keyExtension: 'my16CharsKey'
})
await bot.selectCharacter('mycharacter')
await bot.createGame('mygame', '', 'game server', 0)
}
start()