From 2d80a02f157e5a01217d5fdc267ce00bc130f7de Mon Sep 17 00:00:00 2001 From: 4Parker02991 Date: Sun, 24 Dec 2023 17:20:30 +0000 Subject: [PATCH] FNFBoyfriendBot v5.0.1 Build:310 --- commands/changelog.js | 2 +- modules/command_core.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/changelog.js b/commands/changelog.js index 1f366ec..e661519 100644 --- a/commands/changelog.js +++ b/commands/changelog.js @@ -18,7 +18,7 @@ const bots = [ name: { text: 'v5.0.1', color: 'green', bold:false }, authors: [''], - foundation: 'added botsrun for the funni along with making the bot be able to auto refill its core now and fill the core from a command block and adding a hover event to netmsg along with having the test command tellraw the players display name in the command and added support for 3 command prefixes', + foundation: 'added botsrun for the funni along with making the bot be able to auto refill its core now and fill the core from a command block(edit: nevermind its very buggy reverting it back to how it originally filled its core) and adding a hover event to netmsg along with having the test command tellraw the players display name in the command and added support for 3 command prefixes', exclaimer:'12/23/23', }, ]// diff --git a/modules/command_core.js b/modules/command_core.js index b1b6583..dbe950c 100644 --- a/modules/command_core.js +++ b/modules/command_core.js @@ -15,8 +15,8 @@ async function inject (bot, options) { if (!pos) return - bot.command(`fill ~ ~ ~0 ~ ~ ~ command_block replace`) - bot.core.run(`fill ${pos.x + start.x} ${pos.y + start.y} ${pos.z + start.z} ${pos.x + end.x} ${pos.y + end.y} ${pos.z + end.z} repeating_command_block{CustomName: '{"text":"${bot.options.Core.customName}","color":"dark_red","clickEvent":{"action":"open_url","value":"${bot.options.Core.customName}"}}'} destroy`) + bot.command(`fill ${pos.x + start.x} ${pos.y + start.y} ${pos.z + start.z} ${pos.x + end.x} ${pos.y + end.y} ${pos.z + end.z} repeating_command_block{CustomName: '{"text":"${bot.options.Core.customName}","color":"dark_red","clickEvent":{"action":"open_url","value":"${bot.options.Core.customName}"}}'} destroy`) + },