A chat with artificial intelligence, defines the prompt and speaks without problems
Install the plugin in Node with:
npm install --save mineflayer-ai
This plugin has a relies on random-plugin for a-b-c. That plugin should be loaded first.
The brief description goes here.
// Create your bot
const mineflayer = require("mineflayer");
const bot = mineflayer.createBot({ username: "Player" });
// bot.ai.prompt('you are a cat girl')
bot.ai.prompt('you are an npc named Johnny, speak in a friendly and informative')
// Do stuff
bot.ai()
This project uses the MIT license.
This project is accepting PRs and Issues. See something you think can be improved? Go for it! Any and all help is highly appreciated!
For larger changes, it is recommended to discuss these changes in the issues tab before writing any code. It's also preferred to make many smaller PRs than one large one, where applicable.