js
const bedboo = require('bedboo') // instead of require('mineflayer')
const bot = bedboo.createBot({ host: '127.0.0.1', port: 19132, username: 'Bot', auth: 'offline' })
bot.on('chat', (username, message) => {
if (username !== bot.username) bot.chat(message)
})Start here
Read the introduction, then connect your first bot to a BDS.
