FridayNightFunkinBoyfriendBot/commands/bots.js

245 lines
7.9 KiB
JavaScript
Raw Normal View History

2023-12-17 14:55:27 -05:00
// TODO: Maybe add more authors
const bots = [
{
name: { text: 'HBot', color: 'aqua', bold:false },
authors: ['hhhzzzsss'],
exclaimer:'HBOT HARRYBUTT LMAOOOOOOOOOOOOOOOOO',
foundation: 'java/mcprotocollib',
prefixes: ['#']
},
{
name: { text: '64Bot', color: 'gold', bold:false },
authors: ['64Will64'],
exclaimer:'NINTENDO 64?!?!??!?! 69Bot when??????',
foundation: 'NodeJS/Mineflayer',
prefixes: ['w=']
},
{
name: { text: 'Nebulabot', color: 'dark_purple', bold:false },
authors: ['IuCC'],
exclaimer:'the void',
foundation: 'NodeJS/Node-minecraft-protocol',
prefixes: ['[']
},
{
name: { text: 'SharpBot', color: 'aqua', bold:false },
authors: ['64Will64'],
exclaimer:'sharp as in the tv? idfk im out of jokes also the first c# bot on the list??',
foundation: 'C#/MineSharp',
prefixes: ['s=']
},
{
name: { text: 'MoonBot', color: 'red', bold:false },
authors: ['64Will64'],
exclaimer:'stop mooning/mooing me ',
foundation: 'NodeJS/Mineflayer',
prefixes: ['m=']
},
{
name: { text: 'TableBot', color: 'yellow', bold:false },
authors: ['12alex12'],
exclaimer:'TABLE CLOTH BOT?!?! ',
foundation: 'NodeJS/Node-minecraft-protocol',
prefixes: ['t!']
},
{
name: [{ text: 'Evil', color: 'dark_red', bold:false }, {text:'Bot', color:'dark_purple'}],
authors: ['FusseligerDev'],
exclaimer:'',
foundation: 'Java/Custom',
prefixes: ['!']
},
{
name: { text: 'SBot Java', color: 'white', bold:false }, // TODO: Gradient
authors: ['evkc'],
foundation: 'Java/MCProtocolLib',
prefixes: [':']
},
{
name: { text: 'SBot Rust', color: 'white', bold:false}, // TODO: Gradient
authors: ['evkc'],
foundation: 'Rust',
prefixes: ['re:']
},
{
name: { text: 'Z-Boy-Bot', color: 'dark_purple', bold:false }, // TODO: Gradient
exclaimer: 'Most likely skidded along with kbot that the dev used',
authors: ['Romnci'],
foundation: 'NodeJS/mineflayer or Java/mcprotocollib idfk',
prefixes: ['Z]']
},
{
name: { text: 'ABot', color: 'gold', bold:true }, // TODO: Gradient
exclaimer: 'not used anymore (replaced by V2)',
authors: [{text: '_yfd', color: 'light_purple'}],
foundation: 'NodeJS/Node-Minecraft-Protocol',
prefixes: ['<']
},
{
name: { text: 'ABot-V2', color: 'gold', bold:true }, // TODO: Gradient
exclaimer: '',
authors: [{text: '_yfd', color: 'light_purple'}],
foundation: 'NodeJS/Node-Minecraft-Protocol',
prefixes: ['<']
},
{
name: { text: 'FardBot', color: 'light_purple', bold:false },
authors: ['_yfd'],
exclaimer: 'bot is dead lol',
foundation: 'NodeJS/Mineflayer',
prefixes: ['<']
},
{
name: { text: 'ChipmunkBot', color: 'green', bold:false },
authors: ['_ChipMC_'],
exclaimer: 'chips? also shoutout to chip and chayapak for helping in the rewrite',
foundation: 'Java/MCProtocolLib',
prefixes: ["'", "/'"]
},
{
name: { text: 'ChipmunkBot Old', color: 'green', bold:false },
authors: ['_ChipMC_'],
foundation: 'NodeJS/Node-Minecraft-Protocol',
},
{
name: { text: 'TestBot', color: 'aqua', bold:false },
authors: ['Blackilykat'],
foundation: 'Java/MCProtocolLib',
prefixes: ["-"]
},
{
name: { text: 'UBot', color: 'grey', bold:false },
authors: ['HexWoman'],
exclaimer: 'UwU OwO',
foundation: 'NodeJS/node-minecraft-protocol',
prefixes: ['"']
},
{
name: { text: 'ChomeNS Bot Java', color: 'yellow', bold:false},
authors: ['chayapak'],
exclaimer: 'wow its my bot !! ! 4374621q43567%^&#%67868-- chayapak',
foundation: 'Java/MCProtocolLib',
prefixes: ['*', 'cbot ', '/cbot ']
},
{
name: { text: 'ChomeNS Bot NodeJS', color: 'yellow', bold:false},
authors: ['chayapak'],
foundation: 'NodeJS/Node-Minecraft-Protocol',
prefixes: ['*', 'cbot', '/cbot']
},
{
name: { text: 'RecycleBot', color: 'dark_green', bold:false},
foundation: ['MorganAnkan'],
exclaimer: 'nice bot',
language: 'NodeJS/node-minecraft-protocol',
prefixes: ['=']
},
{
name: { text: 'ManBot', color: 'dark_green' , bold:false },
exclaimer: '(more like men bot :skull:) OH HAAAAAAAAAAAAAAIIILL LOGINTIMEDOUT',
authors: ['Man/LogintimedOut'],
foundation: 'NodeJS/mineflayer',
prefixes: ['(Note:I dont remember!!)']
},
{
name: [{ text: 'Useless', color: 'red', bold:false}, { text: 'Bot', color: 'gray', bold:false}],
exclaimer: 'it isnt useless its a good bot................',
authors: ['IuCC'],
foundation: 'NodeJS/node-minecraft-protocol',
prefixes: ['[']
},
{
name: [{ text: 'Blurry', color: 'dark_purple' , bold:false}, { text: 'Bot', color: 'red' }],
exclaimer: '',
authors: ['SirLennox'],
foundation: 'Java/custom',
prefixes: [',']
},
{
name: [{ text: 'SnifferBot', color: 'gold' , bold:false}],
exclaimer: 'sniff sniff',
authors: ['Seasnail8169'],
foundation: 'NodeJS/Node-minecraft-protocol',
prefixes: ['>']
},
{
name: [{ text: 'KittyCorp', color: 'yellow', bold:false }, { text: 'Bot', color: 'yellow' }],
exclaimer: '3 words ginlang is gay',
authors: ['ginlang , G6_, ArrayBuffer, and i guess more??'],
foundation: 'NodeJS/node-minecraft-protocol',
prefixes: ['^']
},
{
name: [{ text:'FNF', color: 'dark_purple', bold: false}, {text:'Boyfriend', color: 'aqua', bold:false}, {text:'Bot', color:'dark_red', bold:false}, {text:' Node-Minecraft-Protocol', color:'black', bold:false}],
authors: [{ text:'Parker2991', color: 'dark_red'}, {text:' _ChipMC_', color: 'dark_green', bold:false}, {text:' chayapak', color:'yellow', bold:false}, {text:' _yfd', color:'light_purple', bold:false}],
exclaimer: 'FNFBoyfriendBot NMP Rewrite',
foundation: 'NodeJS/node-minecraft-protocol',
prefixes: ['~']
},
{
name: [{ text:'FNF', color: 'dark_purple', bold: false}, {text:'Boyfriend', color: 'aqua', bold:false}, {text:'Bot', color:'dark_red', bold:false}, {text:' Mineflayer', color:'green', bold:false}],
authors: [{text:'Parker2991', color:'dark_red' }, {text:' _ChipMC_', color:'dark_green', bold:false }],
exclaimer:'1037 LINES OF CODE WTFARD!??! also this version is in console commands only' ,
foundation: 'NodeJS/mineflayer',
prefixes: []
}
]
module.exports = {
name: 'bots',
description:['shows a list of known bots'],
aliases:['knownbots'],
2023-12-20 11:54:03 -05:00
trustLevel: 0,
2023-12-17 14:55:27 -05:00
execute (context) {
const query = context.arguments.join(' ').toLowerCase()
const bot = context.bot
if (query.length === 0) {
const list = []
for (const info of bots) {
if (list.length !== 0) list.push({ text: ', ', color: 'gray' })// list.push(info.name)
list.push(info.name)
}
context.source.sendFeedback(['Known bots (', bots.length, ') - ', ...list], false)
return
}
for (const info of bots) {
const plainName = String(context.bot.getMessageAsPrismarine(info.name)).toLowerCase()
if (plainName.includes(query)) this.sendBotInfo(info, context.bot)
}
},
sendBotInfo (info, bot) {
const component = ['']
component.push('Name: ', info.name)
if (info.exclaimer) component.push('\n', 'Exclaimer: ', info.exclaimer)
if (info.authors && info.authors.length !== 0) {
component.push('\n', 'Authors: ')
for (const author of info.authors) {
component.push(author, { text: ', ', color: 'gray' })
}
component.pop()
}
if (info.foundation) component.push('\n', 'Foundation: ', info.foundation)
if (info.prefixes && info.prefixes.length !== 0) {
component.push('\n', 'Prefixes: ')
for (const prefix of info.prefixes) {
component.push(prefix, { text: ', ', color: 'gray' })
}
component.pop()
}
bot.tellraw([component])
}
}//it doing it just for the ones i added lol
// prob a replit moment, it probably thinks there are regexes in the strings