From 79250b3325380dc0f86efe260fbf7deec376c67c Mon Sep 17 00:00:00 2001 From: Parker Griffith Date: Thu, 18 Apr 2024 12:31:25 -0400 Subject: [PATCH] Delete random-bullshit/bruhifytellraw.js --- random-bullshit/bruhifytellraw.js | 33 ------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 random-bullshit/bruhifytellraw.js diff --git a/random-bullshit/bruhifytellraw.js b/random-bullshit/bruhifytellraw.js deleted file mode 100644 index 75b7cb4..0000000 --- a/random-bullshit/bruhifytellraw.js +++ /dev/null @@ -1,33 +0,0 @@ -const convert = require('color-convert') - - function inject (bot) { - bot.bruhifyTextTellraw = '' - let startHue = 0 - const timer = setInterval(() => { - if (bot.bruhifyTextTellraw === '') return - - let hue = startHue - const displayName = bot.bruhifyTextTellraw - const increment = (360 / Math.max(displayName.length, 20)) - const component = [] - for (const character of displayName) { - const color = convert.hsv.hex(hue, 100, 100) - component.push({ - text: character, - color: `#${color}`, - - }) - - // hoverEvent: { action:"show_text", value: '§aMan i like frogs - _ChipMC_'}, - hue = (hue + increment) % 360 - } - bot.core.run(`tellraw @a ${JSON.stringify(component)}`) // instead of doing just "tellraw" do "minecraft:tellraw" - - startHue = (startHue + increment) % 360 - }, 50) - - bot.on('end', () => { - clearInterval(timer) - }) - } -module.exports = inject