Replies: 1 comment 1 reply
-
|
in README say : To switch the account, update the supplied |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
hi i logged in microsoft acc with code method. which means code gave me url i went to that and logged in. what my problem is now i am not able to remove that acc. even though i changed password of my microsoft account it still tries to login into same account in my code. i want help how to remove that token which logs into my account so that next time it asks for new login and gives me the login code.
my program code
const mineflayer = require('mineflayer');
// Function to perform random actions
function performRandomAction(bot) {
// Define an array of possible actions
const actions = ['forward', 'back', 'left', 'right', 'jump'];
}
// Create the bot
const bot = mineflayer.createBot({
host: 'kkkkkkk', // minecraft server ip
});
// Event handler for when the bot is ready
bot.once('spawn', () => {
console.log('Bot spawned and ready to perform actions randomly.');
});
// Event handler for errors
bot.on('error', (err) => {
console.error('Bot encountered an error:', err);
});
bot.end();
Beta Was this translation helpful? Give feedback.
All reactions