v6.0.0-alpha

This commit is contained in:
Parker2991 2024-07-20 20:27:17 -04:00
parent 2d49c8003f
commit 21040143c7
128 changed files with 7083234 additions and 479 deletions

View file

@ -1,80 +0,0 @@
beta 0.1 - 0.2 0.5 release 2022 (first release)
ParkerBot/DEMONBOT/Woomybot/Boyfriend
ehh nothing much just the release of the betas
--------------------------------------
beta 1.0 release 1/25/23 codename: in console test.
original commands:!cloop bcraw,!cloop sudo,!troll,!say,!op (broke),!deop (broke), !gms (broke),!freeze,!icu <--- these commands no longer can be used in game but in console for beta 1.0
commands added: fake kick,ban,kick,crashserver,stop,gmc,greetin,test(broken idk),bypass,entity spam(broken idk),gms(broke),stop,tntspam (broke idk),prefix (not tested yet),annoy (broke results in a complete server crash keeping ayunboom down for 3 to 5 hours),freeze(i dont even know what this do since i cant do !freeze),crashserver,troll(more destructive),trol(more destructive),icu(broke idk),say,sudo,cloop
-------------------------------------
1.0 release 1/26/23 1:47am codename:
FNFBoyfriendBot.
commands added: BOOM,deop,troll and trol(added extra code to both commands),kaboom,serverdeop,
commands fixed:tp,gms,annoy(attemps to crash the server but not as bad as it was)
commands untested:prefix
command Broke:icu,freeze,tntspam,entityspam,tntspam?
changed name to &b &lFNFBoyfriendBot may change later idk
-------------------------------------
1.0 revision 1 release 1/26/23 2:00pm
codename revision 1.
reworked the kaboom command and fixed the description commands but thats about it. also reworked the greeting command
--------------------------------------
1.1 release 1/28/23 1:51
nothing much just added extra stuff to the troll, trol and that is about it
-------------------------------------
1.2 release 1/30/32 no codename
for ppl me making me really mad -.- got released early
--------------------------------------
2.0 2/07/23 8:01pm codename: Major
added DREAMSTANALERT,technoblade,GODSWORD,KFC,MYLEG,OHHAIL,altcrash,MyHead
Reworked tntspam,entityspam,soundbreaker
added Spim to the whitelist of the bot
released too early than it was planned gonna be released due do the code almost leaked it had to be released early
--------------------------------------
2.1 release 2/11/23 5:30pm
added: refillcore(had early prototypes of this was original), vanish,deop,cloopdeop,mute,cloopmute
reworked: op (supposed to already op the bot but didnt work until this release) and reworked gmc (same problem with op)
(had early prototypes of vanish,refillcore,gmc,and op but these were original gonna be automatic but after alot of attempts i said screw it and added 2 commands refillcore, and vanish reworked gmc and op and got them working finally) removed Spim because come to find out he couldnt be trusted
--------------------------------------
2.2 release 2/20/23 4:21pm central time
bug fixes
added ckill(added back after trial and error),serversuicidal
changed username of the bot from hex code to FNFBoyfriendBot because hex code for the username was confusing as it changes everytime
---------------------------------------
3.0 Beta codename: blue-balled corruption
was canceled due to ayunboom being rewriten and renamed to creayun barely usable on there because commands blocks are disabled which i created a bot for that server that has no command blocks https://replit.com/@Parker2991/FNFBoyfriendbotcreayun-bot-final-build#index.js just finished the final build of that bot due to chip announcing that he may make a kaboom clone yk what 1.5.2 and 1.8 support but anyway onto what is in the 3.0 beta well the beta for right now
commands added:discord,version,online,list,iownyou,endmysuffering,wafflehouse,whopper,bcraw,destroycore
Notes:the original say command was reworked into talking in chat without bcraw and command blocks which the bcraw chatting code is still in the bot but was reworked into the bcraw commmand. maybe some commands removed? i dont know yet edit there is 2 commands removed
commands removed:tpe and serverdeop???
reworked commands :say command for right now
relay chat mabe will be added as a seperate repl i dont know yet possible would need a whole code rewrite for relay chat
-----------------------------------------
3.0 full release CodeName:Sky Remanifested
the full release of 3.0 the rewrite has been pushed back to 4.0 due to 3.0 already pass its release date and the code i had on hand was done but the rewrite wasnt done
Added: SelfCare
Made during development:Relay chat prototypes for several servers
---------------------
3.0.5 release
Bug fixes
-----------
3.0.9
commands added:Help(finally added after about a year),consolelog(added cuz yes),cloopconsolelog(added cuz yes)
-------------------
4.0 beta Codename:FNFBoyfriendBot Ultimate
all of the command removed and or rewriten from version 3.0.9
Commands added or rewriten:ban,buyrealminecraft,cloop,discord,echo,errortest,freeze,help,icu,info,kick,bots,skids,romncitrash,say,selfdestruct,serversuicidal,sudo,test,trol,troll
(note that this is different and is not CommandModules)Modules Added:discord,chat,chat_command_handler,command_manager,position,registry,reconnect,command_core
CustomChats added:kaboom(for normal chat)
(note that this is different and is not Modules)CommandModules Added:command_error,Command_source
a beta release for rn
-----------------------------
4.0 Alpha Codename:FNFBoyfriendBot Ulitmate
Commands added: calculator,ckill,evaljs,urban,crash,cloopcrash,core,list,ping,netmsg,skin,tpr
Commands Removed:Buyrealminecraft
(note that this is different and is not CommandModules)Modules Added:op selfcare,gmc selfcare,vanish selfcare,cspy selfcare,console
(note that this is different and is not Modules)CustomChats Added:u2O3a(for custom chat)
added util with between(for urban) eval_colors(for evaljs)
----------------------------------

BIN
logs/2024-07-12-1.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-12.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-1.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-10.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-11.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-12.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-13.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-14.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-15.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-16.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-17.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-18.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-19.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-2.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-20.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-21.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-22.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-23.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-24.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-25.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-26.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-27.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-28.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-29.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-3.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-30.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-31.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-32.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-33.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-34.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-35.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-36.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-37.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-38.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-39.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-4.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-40.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-41.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-42.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-43.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-44.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-45.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-46.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-47.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-48.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-49.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-5.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-50.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-51.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-52.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-53.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-54.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-55.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-56.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-57.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-58.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-59.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-6.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-60.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-7.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-8.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13-9.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-13.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-17.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-18.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-1.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-10.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-2.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-3.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-4.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-5.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-6.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-7.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-8.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19-9.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-19.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-20-1.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-20-2.log.gz Normal file

Binary file not shown.

BIN
logs/2024-07-20.log.gz Normal file

Binary file not shown.

7072730
logs/2024-07-21.log Normal file

File diff suppressed because it is too large Load diff

BIN
logs/2024-07-21.log.gz.tmp Normal file

Binary file not shown.

2472
logs/latest.log Normal file

File diff suppressed because it is too large Load diff

312
package-lock.json generated
View file

@ -1,5 +1,5 @@
{ {
"name": "FNFBoyfriendBot-v6.0.0", "name": "FridayNightFunkinBoyfriendBot",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"FNFBoyfriendBot-nmp-version": "0.5", "FNFBoyfriendBot-nmp-version": "0.5",
@ -10,6 +10,7 @@
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"jvm": "^0.5.3", "jvm": "^0.5.3",
"man-db": "^1.0.3", "man-db": "^1.0.3",
"matrix-js-sdk": "^31.5.0",
"minecraft-data": "^3.36.1", "minecraft-data": "^3.36.1",
"minecraft-protocol": "^1.47.0", "minecraft-protocol": "^1.47.0",
"prismarine-auth": "^2.2.0", "prismarine-auth": "^2.2.0",
@ -38,6 +39,17 @@
"node": ">=16" "node": ">=16"
} }
}, },
"node_modules/@babel/runtime": {
"version": "7.24.7",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz",
"integrity": "sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==",
"dependencies": {
"regenerator-runtime": "^0.14.0"
},
"engines": {
"node": ">=6.9.0"
}
},
"node_modules/@discordjs/builders": { "node_modules/@discordjs/builders": {
"version": "1.6.3", "version": "1.6.3",
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.6.3.tgz", "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.6.3.tgz",
@ -127,6 +139,14 @@
"node": ">=14" "node": ">=14"
} }
}, },
"node_modules/@matrix-org/matrix-sdk-crypto-wasm": {
"version": "4.10.0",
"resolved": "https://registry.npmjs.org/@matrix-org/matrix-sdk-crypto-wasm/-/matrix-sdk-crypto-wasm-4.10.0.tgz",
"integrity": "sha512-zOqKVAYPfzs6Hav/Km9F5xWwoQ0bxDuoUU0/121m03Fg2VnfcHk43TjKImZolFc7IlgXwVGoda9Pp9Z/eTVKJA==",
"engines": {
"node": ">= 10"
}
},
"node_modules/@sapphire/async-queue": { "node_modules/@sapphire/async-queue": {
"version": "1.5.0", "version": "1.5.0",
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.5.0.tgz", "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.5.0.tgz",
@ -163,6 +183,11 @@
"resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz",
"integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A=="
}, },
"node_modules/@types/events": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.3.tgz",
"integrity": "sha512-trOc4AAUThEz9hapPtSd7wf5tiQKvTtu5b371UxXdTuqzIh0ArcRspRP0i0Viu+LXstIQ1z96t1nsPxT9ol01g=="
},
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "20.1.3", "version": "20.1.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.1.3.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.1.3.tgz",
@ -177,6 +202,11 @@
"safe-buffer": "~5.1.1" "safe-buffer": "~5.1.1"
} }
}, },
"node_modules/@types/retry": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz",
"integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA=="
},
"node_modules/@types/ws": { "node_modules/@types/ws": {
"version": "8.5.4", "version": "8.5.4",
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz",
@ -247,6 +277,11 @@
"url": "https://github.com/sponsors/epoberezkin" "url": "https://github.com/sponsors/epoberezkin"
} }
}, },
"node_modules/another-json": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/another-json/-/another-json-0.2.0.tgz",
"integrity": "sha512-/Ndrl68UQLhnCdsAzEXLMFuOR546o2qbYRqCglaNHbjXrwG1ayTcdwr3zkSGOGtGXDyR5X9nCFfnyG2AFJIsqg=="
},
"node_modules/argparse": { "node_modules/argparse": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
@ -265,6 +300,11 @@
"follow-redirects": "^1.14.0" "follow-redirects": "^1.14.0"
} }
}, },
"node_modules/base-x": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz",
"integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw=="
},
"node_modules/base64-js": { "node_modules/base64-js": {
"version": "1.5.1", "version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@ -295,6 +335,14 @@
"node": ">=10" "node": ">=10"
} }
}, },
"node_modules/bs58": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz",
"integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==",
"dependencies": {
"base-x": "^4.0.0"
}
},
"node_modules/buffer": { "node_modules/buffer": {
"version": "6.0.3", "version": "6.0.3",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
@ -350,6 +398,14 @@
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
}, },
"node_modules/content-type": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
"integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==",
"engines": {
"node": ">= 0.6"
}
},
"node_modules/debug": { "node_modules/debug": {
"version": "4.3.4", "version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
@ -594,6 +650,14 @@
"safe-buffer": "^5.0.1" "safe-buffer": "^5.0.1"
} }
}, },
"node_modules/jwt-decode": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz",
"integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA==",
"engines": {
"node": ">=18"
}
},
"node_modules/lodash": { "node_modules/lodash": {
"version": "4.17.21", "version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
@ -654,6 +718,18 @@
"resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz",
"integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==" "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="
}, },
"node_modules/loglevel": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.1.tgz",
"integrity": "sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg==",
"engines": {
"node": ">= 0.6.0"
},
"funding": {
"type": "tidelift",
"url": "https://tidelift.com/funding/github/npm/loglevel"
}
},
"node_modules/macaddress": { "node_modules/macaddress": {
"version": "0.5.3", "version": "0.5.3",
"resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.5.3.tgz", "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.5.3.tgz",
@ -664,6 +740,56 @@
"resolved": "https://registry.npmjs.org/man-db/-/man-db-1.0.3.tgz", "resolved": "https://registry.npmjs.org/man-db/-/man-db-1.0.3.tgz",
"integrity": "sha512-ZJ83PlqpgeaZSHCWgAwq7oCzrlUKa7BgiJjJLWOPblU4G2y5t7mz9GdIeVpZPax8cFx4cA6yYDcE1TWwmW+eCw==" "integrity": "sha512-ZJ83PlqpgeaZSHCWgAwq7oCzrlUKa7BgiJjJLWOPblU4G2y5t7mz9GdIeVpZPax8cFx4cA6yYDcE1TWwmW+eCw=="
}, },
"node_modules/matrix-events-sdk": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/matrix-events-sdk/-/matrix-events-sdk-0.0.1.tgz",
"integrity": "sha512-1QEOsXO+bhyCroIe2/A5OwaxHvBm7EsSQ46DEDn8RBIfQwN5HWBpFvyWWR4QY0KHPPnnJdI99wgRiAl7Ad5qaA=="
},
"node_modules/matrix-js-sdk": {
"version": "31.5.0",
"resolved": "https://registry.npmjs.org/matrix-js-sdk/-/matrix-js-sdk-31.5.0.tgz",
"integrity": "sha512-d8Y/Vt6PdX8leSOQ06yoArJ1xMwCzxSb1H2GzW9mtOgXnHpeYvrAuPrYr32k5hfdUAJp0xPibSqDP+/+2kCnpg==",
"dependencies": {
"@babel/runtime": "^7.12.5",
"@matrix-org/matrix-sdk-crypto-wasm": "^4.6.0",
"another-json": "^0.2.0",
"bs58": "^5.0.0",
"content-type": "^1.0.4",
"jwt-decode": "^4.0.0",
"loglevel": "^1.7.1",
"matrix-events-sdk": "0.0.1",
"matrix-widget-api": "^1.6.0",
"oidc-client-ts": "^3.0.1",
"p-retry": "4",
"sdp-transform": "^2.14.1",
"unhomoglyph": "^1.0.6",
"uuid": "9"
},
"engines": {
"node": ">=18.0.0"
}
},
"node_modules/matrix-js-sdk/node_modules/uuid": {
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
"integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==",
"funding": [
"https://github.com/sponsors/broofa",
"https://github.com/sponsors/ctavan"
],
"bin": {
"uuid": "dist/bin/uuid"
}
},
"node_modules/matrix-widget-api": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/matrix-widget-api/-/matrix-widget-api-1.6.0.tgz",
"integrity": "sha512-VXIJyAZ/WnBmT4C7ePqevgMYGneKMCP/0JuCOqntSsaNlCRHJvwvTxmqUU+ufOpzIF5gYNyIrAjbgrEbK3iqJQ==",
"dependencies": {
"@types/events": "^3.0.0",
"events": "^3.2.0"
}
},
"node_modules/minecraft-data": { "node_modules/minecraft-data": {
"version": "3.66.0", "version": "3.66.0",
"resolved": "https://registry.npmjs.org/minecraft-data/-/minecraft-data-3.66.0.tgz", "resolved": "https://registry.npmjs.org/minecraft-data/-/minecraft-data-3.66.0.tgz",
@ -784,6 +910,29 @@
"asn1": "0.2.3" "asn1": "0.2.3"
} }
}, },
"node_modules/oidc-client-ts": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/oidc-client-ts/-/oidc-client-ts-3.0.1.tgz",
"integrity": "sha512-xX8unZNtmtw3sOz4FPSqDhkLFnxCDsdo2qhFEH2opgWnF/iXMFoYdBQzkwCxAZVgt3FT3DnuBY3k80EZHT0RYg==",
"dependencies": {
"jwt-decode": "^4.0.0"
},
"engines": {
"node": ">=18"
}
},
"node_modules/p-retry": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz",
"integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==",
"dependencies": {
"@types/retry": "0.12.0",
"retry": "^0.13.1"
},
"engines": {
"node": ">=8"
}
},
"node_modules/peek-readable": { "node_modules/peek-readable": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0.tgz", "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0.tgz",
@ -932,6 +1081,11 @@
"url": "https://github.com/sponsors/Borewit" "url": "https://github.com/sponsors/Borewit"
} }
}, },
"node_modules/regenerator-runtime": {
"version": "0.14.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
"integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
},
"node_modules/ret": { "node_modules/ret": {
"version": "0.1.15", "version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
@ -940,11 +1094,27 @@
"node": ">=0.12" "node": ">=0.12"
} }
}, },
"node_modules/retry": {
"version": "0.13.1",
"resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz",
"integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg==",
"engines": {
"node": ">= 4"
}
},
"node_modules/safe-buffer": { "node_modules/safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}, },
"node_modules/sdp-transform": {
"version": "2.14.2",
"resolved": "https://registry.npmjs.org/sdp-transform/-/sdp-transform-2.14.2.tgz",
"integrity": "sha512-icY6jVao7MfKCieyo1AyxFYm1baiM+fA00qW/KrNNVlkxHAd34riEKuEkUe4bBb3gJwLJZM+xT60Yj1QL8rHiA==",
"bin": {
"sdp-verify": "checker.js"
}
},
"node_modules/semver": { "node_modules/semver": {
"version": "7.6.2", "version": "7.6.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz",
@ -1050,6 +1220,11 @@
"node": ">=14.0" "node": ">=14.0"
} }
}, },
"node_modules/unhomoglyph": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/unhomoglyph/-/unhomoglyph-1.0.6.tgz",
"integrity": "sha512-7uvcWI3hWshSADBu4JpnyYbTVc7YlhF5GDW/oPD5AxIxl34k4wXR3WDkPnzLxkN32LiTCTKMQLtKVZiwki3zGg=="
},
"node_modules/uri-js": { "node_modules/uri-js": {
"version": "4.4.1", "version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",
@ -1139,6 +1314,14 @@
"uuid": "^8.3.0" "uuid": "^8.3.0"
} }
}, },
"@babel/runtime": {
"version": "7.24.7",
"resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.24.7.tgz",
"integrity": "sha512-UwgBRMjJP+xv857DCngvqXI3Iq6J4v0wXmwc6sapg+zyhbwmQX67LUEFrkK5tbyJ30jGuG3ZvWpBiB9LCy1kWw==",
"requires": {
"regenerator-runtime": "^0.14.0"
}
},
"@discordjs/builders": { "@discordjs/builders": {
"version": "1.6.3", "version": "1.6.3",
"resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.6.3.tgz", "resolved": "https://registry.npmjs.org/@discordjs/builders/-/builders-1.6.3.tgz",
@ -1207,6 +1390,11 @@
"resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz", "resolved": "https://registry.npmjs.org/@fastify/busboy/-/busboy-2.1.1.tgz",
"integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA==" "integrity": "sha512-vBZP4NlzfOlerQTnba4aqZoMhE/a9HY7HRqoOPaETQcSQuWEIyZMHGfVu6w9wGtGK5fED5qRs2DteVCjOH60sA=="
}, },
"@matrix-org/matrix-sdk-crypto-wasm": {
"version": "4.10.0",
"resolved": "https://registry.npmjs.org/@matrix-org/matrix-sdk-crypto-wasm/-/matrix-sdk-crypto-wasm-4.10.0.tgz",
"integrity": "sha512-zOqKVAYPfzs6Hav/Km9F5xWwoQ0bxDuoUU0/121m03Fg2VnfcHk43TjKImZolFc7IlgXwVGoda9Pp9Z/eTVKJA=="
},
"@sapphire/async-queue": { "@sapphire/async-queue": {
"version": "1.5.0", "version": "1.5.0",
"resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.5.0.tgz", "resolved": "https://registry.npmjs.org/@sapphire/async-queue/-/async-queue-1.5.0.tgz",
@ -1231,6 +1419,11 @@
"resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz", "resolved": "https://registry.npmjs.org/@tokenizer/token/-/token-0.3.0.tgz",
"integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A==" "integrity": "sha512-OvjF+z51L3ov0OyAU0duzsYuvO01PH7x4t6DJx+guahgTnBHkhJdG7soQeTSFLWN3efnHyibZ4Z8l2EuWwJN3A=="
}, },
"@types/events": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/@types/events/-/events-3.0.3.tgz",
"integrity": "sha512-trOc4AAUThEz9hapPtSd7wf5tiQKvTtu5b371UxXdTuqzIh0ArcRspRP0i0Viu+LXstIQ1z96t1nsPxT9ol01g=="
},
"@types/node": { "@types/node": {
"version": "20.1.3", "version": "20.1.3",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.1.3.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-20.1.3.tgz",
@ -1245,6 +1438,11 @@
"safe-buffer": "~5.1.1" "safe-buffer": "~5.1.1"
} }
}, },
"@types/retry": {
"version": "0.12.0",
"resolved": "https://registry.npmjs.org/@types/retry/-/retry-0.12.0.tgz",
"integrity": "sha512-wWKOClTTiizcZhXnPY4wikVAwmdYHp8q6DmC+EJUzAMsycb7HB32Kh9RN4+0gExjmPmZSAQjgURXIGATPegAvA=="
},
"@types/ws": { "@types/ws": {
"version": "8.5.4", "version": "8.5.4",
"resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz", "resolved": "https://registry.npmjs.org/@types/ws/-/ws-8.5.4.tgz",
@ -1301,6 +1499,11 @@
"uri-js": "^4.2.2" "uri-js": "^4.2.2"
} }
}, },
"another-json": {
"version": "0.2.0",
"resolved": "https://registry.npmjs.org/another-json/-/another-json-0.2.0.tgz",
"integrity": "sha512-/Ndrl68UQLhnCdsAzEXLMFuOR546o2qbYRqCglaNHbjXrwG1ayTcdwr3zkSGOGtGXDyR5X9nCFfnyG2AFJIsqg=="
},
"argparse": { "argparse": {
"version": "2.0.1", "version": "2.0.1",
"resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz",
@ -1319,6 +1522,11 @@
"follow-redirects": "^1.14.0" "follow-redirects": "^1.14.0"
} }
}, },
"base-x": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/base-x/-/base-x-4.0.0.tgz",
"integrity": "sha512-FuwxlW4H5kh37X/oW59pwTzzTKRzfrrQwhmyspRM7swOEZcHtDZSCt45U6oKgtuFE+WYPblePMVIPR4RZrh/hw=="
},
"base64-js": { "base64-js": {
"version": "1.5.1", "version": "1.5.1",
"resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz",
@ -1332,6 +1540,14 @@
"fast-text-encoding": "^1.0.3" "fast-text-encoding": "^1.0.3"
} }
}, },
"bs58": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/bs58/-/bs58-5.0.0.tgz",
"integrity": "sha512-r+ihvQJvahgYT50JD05dyJNKlmmSlMoOGwn1lCcEzanPglg7TxYjioQUYehQ9mAR/+hOSd2jRc/Z2y5UxBymvQ==",
"requires": {
"base-x": "^4.0.0"
}
},
"buffer": { "buffer": {
"version": "6.0.3", "version": "6.0.3",
"resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz",
@ -1364,6 +1580,11 @@
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ=="
}, },
"content-type": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.5.tgz",
"integrity": "sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA=="
},
"debug": { "debug": {
"version": "4.3.4", "version": "4.3.4",
"resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz", "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz",
@ -1544,6 +1765,11 @@
"safe-buffer": "^5.0.1" "safe-buffer": "^5.0.1"
} }
}, },
"jwt-decode": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/jwt-decode/-/jwt-decode-4.0.0.tgz",
"integrity": "sha512-+KJGIyHgkGuIq3IEBNftfhW/LfWhXUIY6OmyVWjliu5KH1y0fw7VQ8YndE2O4qZdMSd9SqbnC8GOcZEy0Om7sA=="
},
"lodash": { "lodash": {
"version": "4.17.21", "version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
@ -1604,6 +1830,11 @@
"resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz",
"integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw==" "integrity": "sha512-QZ1d4xoBHYUeuouhEq3lk3Uq7ldgyFXGBhg04+oRLnIz8o9T65Eh+8YdroUwn846zchkA9yDsDl5CVVaV2nqYw=="
}, },
"loglevel": {
"version": "1.9.1",
"resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.9.1.tgz",
"integrity": "sha512-hP3I3kCrDIMuRwAwHltphhDM1r8i55H33GgqjXbrisuJhF4kRhW1dNuxsRklp4bXl8DSdLaNLuiL4A/LWRfxvg=="
},
"macaddress": { "macaddress": {
"version": "0.5.3", "version": "0.5.3",
"resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.5.3.tgz", "resolved": "https://registry.npmjs.org/macaddress/-/macaddress-0.5.3.tgz",
@ -1614,6 +1845,48 @@
"resolved": "https://registry.npmjs.org/man-db/-/man-db-1.0.3.tgz", "resolved": "https://registry.npmjs.org/man-db/-/man-db-1.0.3.tgz",
"integrity": "sha512-ZJ83PlqpgeaZSHCWgAwq7oCzrlUKa7BgiJjJLWOPblU4G2y5t7mz9GdIeVpZPax8cFx4cA6yYDcE1TWwmW+eCw==" "integrity": "sha512-ZJ83PlqpgeaZSHCWgAwq7oCzrlUKa7BgiJjJLWOPblU4G2y5t7mz9GdIeVpZPax8cFx4cA6yYDcE1TWwmW+eCw=="
}, },
"matrix-events-sdk": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/matrix-events-sdk/-/matrix-events-sdk-0.0.1.tgz",
"integrity": "sha512-1QEOsXO+bhyCroIe2/A5OwaxHvBm7EsSQ46DEDn8RBIfQwN5HWBpFvyWWR4QY0KHPPnnJdI99wgRiAl7Ad5qaA=="
},
"matrix-js-sdk": {
"version": "31.5.0",
"resolved": "https://registry.npmjs.org/matrix-js-sdk/-/matrix-js-sdk-31.5.0.tgz",
"integrity": "sha512-d8Y/Vt6PdX8leSOQ06yoArJ1xMwCzxSb1H2GzW9mtOgXnHpeYvrAuPrYr32k5hfdUAJp0xPibSqDP+/+2kCnpg==",
"requires": {
"@babel/runtime": "^7.12.5",
"@matrix-org/matrix-sdk-crypto-wasm": "^4.6.0",
"another-json": "^0.2.0",
"bs58": "^5.0.0",
"content-type": "^1.0.4",
"jwt-decode": "^4.0.0",
"loglevel": "^1.7.1",
"matrix-events-sdk": "0.0.1",
"matrix-widget-api": "^1.6.0",
"oidc-client-ts": "^3.0.1",
"p-retry": "4",
"sdp-transform": "^2.14.1",
"unhomoglyph": "^1.0.6",
"uuid": "9"
},
"dependencies": {
"uuid": {
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/uuid/-/uuid-9.0.1.tgz",
"integrity": "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA=="
}
}
},
"matrix-widget-api": {
"version": "1.6.0",
"resolved": "https://registry.npmjs.org/matrix-widget-api/-/matrix-widget-api-1.6.0.tgz",
"integrity": "sha512-VXIJyAZ/WnBmT4C7ePqevgMYGneKMCP/0JuCOqntSsaNlCRHJvwvTxmqUU+ufOpzIF5gYNyIrAjbgrEbK3iqJQ==",
"requires": {
"@types/events": "^3.0.0",
"events": "^3.2.0"
}
},
"minecraft-data": { "minecraft-data": {
"version": "3.66.0", "version": "3.66.0",
"resolved": "https://registry.npmjs.org/minecraft-data/-/minecraft-data-3.66.0.tgz", "resolved": "https://registry.npmjs.org/minecraft-data/-/minecraft-data-3.66.0.tgz",
@ -1709,6 +1982,23 @@
"asn1": "0.2.3" "asn1": "0.2.3"
} }
}, },
"oidc-client-ts": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/oidc-client-ts/-/oidc-client-ts-3.0.1.tgz",
"integrity": "sha512-xX8unZNtmtw3sOz4FPSqDhkLFnxCDsdo2qhFEH2opgWnF/iXMFoYdBQzkwCxAZVgt3FT3DnuBY3k80EZHT0RYg==",
"requires": {
"jwt-decode": "^4.0.0"
}
},
"p-retry": {
"version": "4.6.2",
"resolved": "https://registry.npmjs.org/p-retry/-/p-retry-4.6.2.tgz",
"integrity": "sha512-312Id396EbJdvRONlngUx0NydfrIQ5lsYu0znKVUzVvArzEIt08V1qhtyESbGVd1FGX7UKtiFp5uwKZdM8wIuQ==",
"requires": {
"@types/retry": "0.12.0",
"retry": "^0.13.1"
}
},
"peek-readable": { "peek-readable": {
"version": "5.0.0", "version": "5.0.0",
"resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0.tgz", "resolved": "https://registry.npmjs.org/peek-readable/-/peek-readable-5.0.0.tgz",
@ -1825,16 +2115,31 @@
"readable-stream": "^3.6.0" "readable-stream": "^3.6.0"
} }
}, },
"regenerator-runtime": {
"version": "0.14.1",
"resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz",
"integrity": "sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw=="
},
"ret": { "ret": {
"version": "0.1.15", "version": "0.1.15",
"resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz",
"integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==" "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg=="
}, },
"retry": {
"version": "0.13.1",
"resolved": "https://registry.npmjs.org/retry/-/retry-0.13.1.tgz",
"integrity": "sha512-XQBQ3I8W1Cge0Seh+6gjj03LbmRFWuoszgK9ooCpwYIrhhoO80pfq4cUkU5DkknwfOfFteRwlZ56PYOGYyFWdg=="
},
"safe-buffer": { "safe-buffer": {
"version": "5.1.2", "version": "5.1.2",
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
"integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="
}, },
"sdp-transform": {
"version": "2.14.2",
"resolved": "https://registry.npmjs.org/sdp-transform/-/sdp-transform-2.14.2.tgz",
"integrity": "sha512-icY6jVao7MfKCieyo1AyxFYm1baiM+fA00qW/KrNNVlkxHAd34riEKuEkUe4bBb3gJwLJZM+xT60Yj1QL8rHiA=="
},
"semver": { "semver": {
"version": "7.6.2", "version": "7.6.2",
"resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz",
@ -1901,6 +2206,11 @@
"@fastify/busboy": "^2.0.0" "@fastify/busboy": "^2.0.0"
} }
}, },
"unhomoglyph": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/unhomoglyph/-/unhomoglyph-1.0.6.tgz",
"integrity": "sha512-7uvcWI3hWshSADBu4JpnyYbTVc7YlhF5GDW/oPD5AxIxl34k4wXR3WDkPnzLxkN32LiTCTKMQLtKVZiwki3zGg=="
},
"uri-js": { "uri-js": {
"version": "4.4.1", "version": "4.4.1",
"resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz",

View file

@ -4,6 +4,7 @@
"js-yaml": "^4.1.0", "js-yaml": "^4.1.0",
"jvm": "^0.5.3", "jvm": "^0.5.3",
"man-db": "^1.0.3", "man-db": "^1.0.3",
"matrix-js-sdk": "^31.5.0",
"minecraft-data": "^3.36.1", "minecraft-data": "^3.36.1",
"minecraft-protocol": "^1.47.0", "minecraft-protocol": "^1.47.0",
"prismarine-auth": "^2.2.0", "prismarine-auth": "^2.2.0",

View file

@ -54,20 +54,6 @@ function createBot(options = {}) {
bot.emit('init_client', client) bot.emit('init_client', client)
bot.bots = options.bots ?? [bot] bot.bots = options.bots ?? [bot]
// Modules
/*
bot.loadModule = module => module(bot, options)
for (const filename of fs.readdirSync(path.join(__dirname, 'modules'))) {
try {
const module = require(path.join(__dirname, 'modules', filename))
bot.loadModule(module)
} catch (error) {
console.error('Failed to load module', filename, ':', error)
}
}
*/
return bot return bot
} }

View file

@ -1,199 +1,353 @@
// TODO: Maybe add more authors // TODO: Maybe add more authors
const bots = [ const bots = [
{ {
name: { text: 'HBot', color: 'aqua', bold:true }, name: { text: "HBot", color: "aqua", bold: false },
authors: ['hhhzzzsss'], authors: ["hhhzzzsss"],
exclaimer:'HBOT HARRYBUTT LMAOOOOOOOOOOOOOOOOO', exclaimer: "HBOT HARRYBUTT LMAOOOOOOOOOOOOOOOOO",
foundation: 'java/mcprotocollib', foundation: "java/mcprotocollib",
prefixes: ['#'] prefixes: ["#"],
}, },
{ {
name: [{ text: 'Evil', color: 'dark_red' }, {text:'Bot', color:'dark_purple'}], name: [{ text: "FBot", color: "gold" }],
authors: ['FusseligerDev'], authors: ["popbob/aaa"],
exclaimer:'', exclaimer: "",
foundation: 'Java/Custom', foundation: "nodejs/node-minecraft-protocol",
prefixes: ['!'] prefixes: ["+"],
},
{
name: { text: "CddehhBot", color: "red", bold: false },
authors: ["CaydennO1","spyingcreeper09"],
exclaimer: "WHAT IS THIS GOOFY AAAH FUCKING BOT FUCKING PIECE OF RETARDED ASS SHIT BOT ITS SO FUCKING SHIT I WANNA IPFILTER IT WITH FUCKING CHOMENS",
foundation: "nodejs/mineflayer",
prefixes: [","],
}, },
{ {
name: { text: 'SBot Java', color: 'white', bold:true }, // TODO: Gradient name: { text: "TurtleBot", color: "green", bold: false },
authors: ['evkc'], authors: ["TurtleKid"],
foundation: 'Java/MCProtocolLib', exclaimer: "nmp when?",
prefixes: [':'] foundation: "nodejs/mineflayer",
prefixes: ["\\"],
},
{
name: { text: "NothingBot", color: "dark_red", bold: false },
authors: ["Yaode_owo"],
exclaimer: "uwu",
foundation: "nodejs/mineflayer",
prefixes: ["?"],
}, },
{ {
name: { text: 'SBot Rust', color: 'white', bold:true }, // TODO: Gradient name: { text: "SC09Bot", color: "dark_gray", bold: false },
authors: ['evkc'], authors: ["spyingcreeper09"],
foundation: 'Rust', exclaimer: ":3",
prefixes: ['re:'] foundation: "nodejs/node-minecraft-protocol",
}, prefixes: ["@"],
{
name: { text: 'Z-Boy-Bot', color: 'dark_purple' }, // 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 name: { text: "HorizonBot", color: "gold", bold: false },
exclaimer: '', authors: ["ZenZoya","Yaode_owo","Parker2991", "and others"],
authors: ['yfd'], exclaimer: "originally called §5FleamBot§r",
foundation: 'NodeJS/Node-Minecraft-Protocol', foundation: "nodejs/node-minecraft-protocol",
prefixes: ['<'] prefixes: ["^"],
}, },
{ {
name: { text: 'FardBot', color: 'dark_purple' }, name: { text: "64Bot", color: "gold", bold: false },
authors: ['_yfd'], authors: ["64Will64"],
exclaimer: 'bot is dead lol', exclaimer: "NINTENDO 64?!?!??!?! 69Bot when??????",
foundation: 'NodeJS/Mineflayer', foundation: "NodeJS/Mineflayer",
prefixes: ['<'] prefixes: ["w="],
},
{
name: { text: 'ChipmunkBot', color: 'green' },
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' }, name: { text: "Nebulabot", color: "dark_purple", bold: false },
authors: ['_ChipMC_'], authors: ["IuCC"],
foundation: 'NodeJS/Node-Minecraft-Protocol', exclaimer: "the void",
foundation: "NodeJS/Node-minecraft-protocol",
}, prefixes: ["["],
{
name: { text: 'TestBot', color: 'aqua' },
authors: ['Blackilykat'],
foundation: 'Java/MCProtocolLib',
prefixes: ["-"]
},
{
name: { text: 'UBot', color: 'grey' },
authors: ['HexWoman'],
exclaimer: 'UwU OwO',
foundation: 'NodeJS/node-minecraft-protocol',
prefixes: ['"']
}, },
{ {
name: { text: 'ChomeNS Bot Java', color: 'yellow'}, name: [
authors: ['chayapak'], { text: "Prism", color: "#00FF9C", bold: true },
exclaimer: 'wow its my bot !! ! 4374621q43567%^&#%67868-- chayapak', { text: "Bot", color: "white",bold:true },
foundation: 'Java/MCProtocolLib', ],
prefixes: ['*', 'cbot ', '/cbot '] authors: ["IuCC"],
exclaimer: "prismarine :3",
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: 'ChomeNS Bot NodeJS', color: 'yellow'},
authors: ['chayapak'],
foundation: 'NodeJS/Node-Minecraft-Protocol', {
prefixes: ['*', 'cbot', '/cbot'] name: { text: "MoonBot", color: "red", bold: false },
authors: ["64Will64"],
exclaimer: "stop mooning/mooing me ",
foundation: "NodeJS/Mineflayer",
prefixes: ["m="],
}, },
{ {
name: { text: 'RecycleBot', color: 'dark_green'}, name: { text: "TableBot", color: "yellow", bold: false },
foundation: ['MorganAnkan'], authors: ["12alex12"],
exclaimer: 'nice bot', exclaimer: "TABLE CLOTH BOT?!?! ",
language: 'NodeJS/node-minecraft-protocol', foundation: "NodeJS/Node-minecraft-protocol",
prefixes: ['='] prefixes: ["t!"],
}, },
{ {
name: { text: 'ManBot', color: 'dark_green' , }, name: [
exclaimer: '(more like men bot :skull:) OH HAAAAAAAAAAAAAAIIILL LOGINTIMEDOUT', { text: "Evil", color: "dark_red", bold: false },
authors: ['Man/LogintimedOut'], { text: "Bot", color: "dark_purple" },
foundation: 'NodeJS/mineflayer', ],
prefixes: ['(Note:I dont remember!!)'] authors: ["FusseligerDev"],
exclaimer: "",
foundation: "Java/Custom",
prefixes: ["!"],
}, },
{ {
name: [{ text: 'Useless', color: 'red', bold:false}, { text: 'Bot', color: 'gray', bold:false}], name: { text: "SBot Java", color: "white", bold: false }, // TODO: Gradient
exclaimer: 'it isnt useless its a good bot................', authors: ["evkc"],
authors: ['IuCC'], foundation: "Java/MCProtocolLib",
foundation: 'NodeJS/node-minecraft-protocol', prefixes: [":"],
prefixes: ['[']
}, },
{ {
name: [{ text: 'Blurry', color: 'dark_purple'}, { text: 'Bot', color: 'red' }], name: { text: "SBot Rust", color: "white", bold: false }, // TODO: Gradient
exclaimer: '', authors: ["evkc"],
authors: ['SirLennox'], foundation: "Rust",
foundation: 'Java/custom', prefixes: ["re:"],
prefixes: [',']
},
{
name: [{ text: 'KittyCorp', color: 'yellow' }, { 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: true}, {text:'Boyfriend', color: 'aqua', bold:true}, {text:'Bot', color:'dark_red', bold:true}, {text:'X', color:'black', bold:true}],
authors: [{ text:'Parker2991', color: 'dark_red'}, {text:' _ChipMC_', color: 'dark_green', bold:true}, {text:' chayapak', color:'yellow', bold:true}],
exclaimer: '4.0 (this Bot) also the Ultimate version of the FNFBoyfriendBot Builds',
foundation: 'NodeJS/node-minecraft-protocol',
prefixes: ['~']
}, },
{ {
name: [{ text:'FNF', color: 'dark_purple', bold: true}, {text:'Boyfriend', color: 'aqua', bold:true}, {text:'Bot', color:'dark_red', bold:true}, {text:' Legacy', color:'green', bold:true}], name: { text: "Z-Boy-Bot", color: "dark_purple", bold: false }, // TODO: Gradient
authors: [{text:'Parker2991', color:'dark_red' }, {text:' _ChipMC_', color:'dark_green', bold:true }], exclaimer: "Most likely skidded along with kbot that the dev used",
exclaimer:'1037 LINES OF CODE WTFARD!??! also this version is in console commands only' , authors: ["Romnci"],
foundation: 'NodeJS/mineflayer', foundation: "NodeJS/mineflayer or Java/mcprotocollib idfk",
prefixes: [] 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 Java", 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 NodeJS", 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 \n rip ChomeNS bot i wonder what chayapak is currently doing -- Parker2991",
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: "neobot", color: "blue", bold: false },
exclaimer: "n e o b o t ;oslkdfj;salkdfj;ladsjf",
authors: ["mirkokral"],
foundation: "java/MCProtocolLib",
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: "KILL YOURSELF BIIIIIIIIIIIIIIIIIITCCCCCCCCCCCCH;lksadjklaklsjjk;lavsklja;kjlvkjladv;kjavdjkavjk;lvdkj;lsajvk;ds",
authors: ["SirLennox"],
foundation: "Java/custom",
prefixes: [","],
},
{
name: [{ text: "SnifferBot", color: "gold", bold: false }],
exclaimer: "sniff sniff FNFBoyfriendBot simp",
authors: ["popbob/aaa"],
foundation: "NodeJS/Node-minecraft-protocol",
prefixes: [">"],
},
{
name: [{ text: "XBot", color: "dark_purple", bold: false }],
exclaimer: "",
authors: ["popbob/aaa"],
foundation: "ts-Node/Node-minecraft-protocol",
prefixes: ["$"],
},
{
name: [
{ text: "Kitty", color: "gold", bold: false },{text:"Corp", color:'aqua',bold:false},
{ text: "Bot", color: "yellow",bold:false },
],
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: " nmp", 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 },
{ text: "popbob/aaa", color: "gold" },
{ text: "MorganAnkan", color: "dark_green" },
{ text: "TurtleKid", color: "green" },
],
exclaimer: "v4.0x - current",
foundation: "NodeJS/node-minecraft-protocol",
prefixes: [ '~', 'fnfbfbot ', '', '', '█' ],
},
{
name: [
{ text: "FNF", color: "dark_purple", bold: false },
{ text: "Boyfriend", color: "aqua", bold: false },
{ text: "Bot", color: "dark_red", bold: false },
{ text: " legacy", 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: [],
},
];
const CommandError = require('../util/command_error')
module.exports = { module.exports = {
name: 'bots', name: "bots",
description: ["shows a list of known bots"],
aliases: ["knownbots"],
trustLevel: 0, trustLevel: 0,
aliases: [ usage:[""],
"knownbots" async execute(context) {
], const query = context.arguments.join(" ").toLowerCase();
description: 'A list of known bots',
usages: [
'<bot>',
],
execute (context) {
const query = context.arguments.join(' ').toLowerCase()
const source = context.source;
const bot = context.bot; const bot = context.bot;
if (query.length === 0) { if (query.length === 0) {
const list = [] const list = [];
for (const info of bots) { for (const info of bots) {
if (list.length !== 0) list.push({ text: ', ', color: 'gray' }) if (list.length !== 0) {
list.push(info.name) list.push({ text: ", ", color: "gray" });
}
list.push(info.name);
} }
bot.tellraw("@a",
bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, ['Known bots (', bots.length, ') - ', ...list], false) bot.getMessageAsPrismarine(["Known bots (", bots.length, ") - ", ...list]).toMotd().replaceAll('\xa7','\xa7'),
return false,
);
return;
} }
for (const info of bots) { for (const info of bots) {
const plainName = String(context.bot.getMessageAsPrismarine(info.name)).toLowerCase() const plainName = String(
if (plainName.includes(query)) this.sendBotInfo(info, context.bot) context.bot.getMessageAsPrismarine(info.name),
).toLowerCase();
if (plainName.includes(query)) this.sendBotInfo(info, context.bot);
} }
}, },
sendBotInfo (info, bot) { sendBotInfo(info, bot) {
const component = [''] const component = [""];
component.push('Name: ', info.name) component.push("Name: ", info.name);
if (info.exclaimer) component.push('\n', 'Exclaimer: ', info.exclaimer) if (info.exclaimer) component.push("\n", "Exclaimer: ", info.exclaimer);
if (info.authors && info.authors.length !== 0) { if (info.authors && info.authors.length !== 0) {
component.push('\n', 'Authors: ') component.push("\n", "Authors: ");
for (const author of info.authors) { for (const author of info.authors) {
component.push(author, { text: ', ', color: 'gray' }) component.push(author, { text: ", ", color: "gray" });
} }
component.pop() component.pop();
} }
if (info.foundation) component.push('\n', 'Foundation: ', info.foundation) if (info.foundation) component.push("\n", "Foundation: ", info.foundation);
if (info.prefixes && info.prefixes.length !== 0) { if (info.prefixes && info.prefixes.length !== 0) {
component.push('\n', 'Prefixes: ') component.push("\n", "Prefixes: ");
for (const prefix of info.prefixes) { for (const prefix of info.prefixes) {
component.push(prefix, { text: ', ', color: 'gray' }) component.push(prefix, { text: ", ", color: "gray" });
} }
component.pop() component.pop();
} }
bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, [component]) bot.tellraw("@a", [component]);
} },
}//it doing it just for the ones i added lol };
//it doing it just for the ones i added lol
// prob a replit moment, it probably thinks there are regexes in the strings // prob a replit moment, it probably thinks there are regexes in the strings

View file

@ -1,10 +1,16 @@
module.exports = { module.exports = {
name: 'cloop', name: 'cloop',
trustLevel: 1, trustLevel: 1,
aliases: [ aliases: [
"commandloop" "commandloop"
], ],
description: 'run cloops', description: 'run cloops',
usages: [
"add <interval> <command>",
"remove <index>",
"clear",
"list",
],
execute (context) { execute (context) {
const args = context.arguments const args = context.arguments
const bot = context.bot const bot = context.bot

View file

@ -10,21 +10,21 @@ module.exports = {
const source = context.source; const source = context.source;
if (!args && !args[0] && !args[1] && !args[2] && !args[3]) return; if (!args && !args[0] && !args[1] && !args[2] && !args[3]) return;
switch (args[0]) { switch (args[0]) {
case "consoleserver": case "server":
case "csvr": case "svr":
const servers = bot.bots.map(eachBot => eachBot.options.host); const servers = bot.bots.map(eachBot => eachBot.options.serverName);
for (const eachBot of bot.bots) { for (const eachBot of bot.bots) {
if (args.slice(1).join(' ').toLowerCase() === 'all') { if (args.slice(1).join(' ').toLowerCase() === 'all') {
eachBot.console.consoleServer = 'all' eachBot.console.consoleServer = 'all'
bot.console.log("Set the console server to all"); bot.console.logs("Set the console server to all");
continue continue
} }
const server = servers.find(server => server.toLowerCase().includes(args[1])) const server = servers.find(server => server.toLowerCase().includes(args[1]))
if (!server) { if (!server) {
bot.console.log("Invalid server"); bot.console.logs("Invalid server");
return return
} }
bot.console.log(`Set the console server to ` + server); bot.console.logs(`Set the console server to ` + server);
eachBot.console.consoleServer = server; eachBot.console.consoleServer = server;
} }
break break

View file

@ -9,6 +9,9 @@ module.exports = {
"commandcorerun", "commandcorerun",
], ],
description: 'run commands in core!', description: 'run commands in core!',
usages: [
"<command>",
],
execute (context) { execute (context) {
const bot = context.bot const bot = context.bot
const message = context.arguments.join(' ') const message = context.arguments.join(' ')

View file

@ -1,9 +0,0 @@
const CommandError = require('../util/command_error')
module.exports = {
name: 'discord',
trustLevel: 0,
execute (context) {
bot.tellraw(context.bot.discord.invite, false)
}
}

View file

@ -0,0 +1,14 @@
module.exports = {
name: 'discordtest',
trustLevel: 2,
description: 'Make me say something',
execute () {
},
discordExecute (context) {
const bot = context.bot
const message = context.arguments.join(' ')
bot.chat.message("mrrow");
bot.discord.message.reply("mrrow :cat:")
}
}

View file

@ -6,6 +6,9 @@ module.exports = {
"botsay", "botsay",
], ],
description: 'Make me say something', description: 'Make me say something',
usages: [
"<message>"
],
execute (context) { execute (context) {
const bot = context.bot const bot = context.bot
const message = context.arguments.join(' ') const message = context.arguments.join(' ')

View file

@ -1,10 +0,0 @@
const CommandError = require('../util/command_error')
module.exports = {
name: 'errortest',
trustLevel: 0,
execute (context) {
const message = context.arguments.join(' ')
throw new Error(message)
}
}

View file

@ -1,9 +1,4 @@
const CommandError = require('../util/command_error') const CommandError = require('../util/command_error')
/*
pub_lickColor: "#2b7589"
t_rustedColor: "#219696"
own_herColor: "#2081c3"
*/
module.exports = { module.exports = {
name: 'help', name: 'help',
trustLevel: 0, trustLevel: 0,
@ -13,12 +8,15 @@ module.exports = {
"cmds", "cmds",
], ],
description: 'a list of the bots commands', description: 'a list of the bots commands',
usages: [
"",
"<command>",
],
execute (context) { execute (context) {
const commandList = []; const commandList = [];
const bot = context.bot; const bot = context.bot;
const source = context.source; const source = context.source;
const args = context.arguments; const args = context.arguments;
const selector = '@a';
console.log(source) console.log(source)
const category = { const category = {
translate: '(%s%s%s%s%s) \u203a ', translate: '(%s%s%s%s%s) \u203a ',
@ -28,7 +26,7 @@ module.exports = {
{ color: "blue", text: 'Public'}, { color: "blue", text: 'Public'},
{ color: "gray", text: ' | '}, { color: "gray", text: ' | '},
{ color: "dark_aqua", text: 'Trusted'}, { color: "dark_aqua", text: 'Trusted'},
{ color: 'gray', text: ' | '}, { color: 'gray', text: ' | '},
{ color: "dark_blue", text: 'Owner'}, { color: "dark_blue", text: 'Owner'},
] ]
} }
@ -38,6 +36,7 @@ module.exports = {
for (const command of bot.commandManager.commandlist) { for (const command of bot.commandManager.commandlist) {
console.log(command.name) console.log(command.name)
if (args[0] === command.name) { if (args[0] === command.name) {
//for (const usageArray of command.usages) {
bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, [ bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, [
{ {
text: `CommandName \u203a ${command.name}\n`, text: `CommandName \u203a ${command.name}\n`,
@ -48,10 +47,22 @@ module.exports = {
color: 'gray', color: 'gray',
}, },
{ {
text: `Description \u203a ${command.description}`, text: `Description \u203a ${command.description}\n`,
color: 'gray', color: 'gray',
} },
{
text: `trustLevel \u203a ${command.trustLevel}\n`,
color: 'gray'
},
{
text: "Usages \u203a\n",
color: "dark_gray"
},
]); ]);
// }
for (const usageArray of command.usages) {
bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, `${config.prefixes[0]}${command.name} ${usageArray}`)
}
return return
} }
if (command.trustLevel === 0) { if (command.trustLevel === 0) {
@ -59,21 +70,111 @@ module.exports = {
{ {
text: command.name + ' ', text: command.name + ' ',
color: "blue", color: "blue",
translate: "",
hoverEvent:{
action:"show_text",
value:[
{
text: `Command:${command.name}\n`,
color: 'gray'
},
{
text: `Trust Level: `,
color: 'gray'
},
{
text: `${command.trustLevel}\n`,
color: 'red'
},
{
text: `${command.description}\n`,
color: 'gray'
},
{
text: `Command Aliases: ${command.aliases}\n`,
color: 'gray'
},
{
text: 'click on me to use me :)',
color: 'gray',
},
],
}
} }
]) ])
} else if (command.trustLevel === 1) { } else if (command.trustLevel === 1) {
trusted.push([ trusted.push([
{ {
text: command.name + ' ', text: command.name + ' ',
color: "dark_aqua" color: "dark_aqua",
} translate: "",
hoverEvent:{
action:"show_text",
value:[
{
text: `Command:${command.name}\n`,
color: 'gray'
},
{
text: `Trust Level: `,
color: 'gray'
},
{
text: `${command.trustLevel}\n`,
color: 'red'
},
{
text: `${command.description}\n`,
color: 'gray'
},
{
text: `Command Aliases: ${command.aliases}\n`,
color: 'gray'
},
{
text: 'click on me to use me :)',
color: 'gray',
},
],
}
}
]) ])
} else if (command.trustLevel === 2) { } else if (command.trustLevel === 2) {
owner.push([ owner.push([
{ {
text: command.name + ' ', text: command.name + ' ',
color: "dark_blue" color: "dark_blue",
} translate: "",
hoverEvent:{
action:"show_text",
value:[
{
text: `Command:${command.name}\n`,
color: 'gray'
},
{
text: `Trust Level: `,
color: 'gray'
},
{
text: `${command.trustLevel}\n`,
color: 'red'
},
{
text: `${command.description}\n`,
color: 'gray'
},
{
text: `Command Aliases: ${command.aliases}\n`,
color: 'gray'
},
{
text: 'click on me to use me :)',
color: 'gray',
},
],
}
}
]) ])
} }
} }
@ -83,6 +184,7 @@ module.exports = {
{ text: JSON.stringify(length), color: 'gold' }, { text: JSON.stringify(length), color: 'gold' },
{ text: ') ', color: 'gray' }, { text: ') ', color: 'gray' },
category, category,
'\n',
public, public,
trusted, trusted,
owner owner
@ -90,4 +192,3 @@ module.exports = {
// bot.tellraw([ public, trusted, owner ]) // bot.tellraw([ public, trusted, owner ])
} }
} }

View file

@ -1,3 +1,16 @@
const os = require("os");
const fs = require("fs");
function format(seconds) {
function pad(s) {
return (s < 10 ? "0" : "") + s;
}
var hours = Math.floor(seconds / (60 * 60));
var minutes = Math.floor((seconds % (60 * 60)) / 60);
var seconds = Math.floor(seconds % 60);
return (pad(`${hours} Hours`) + " " +
pad(`${minutes} Minutes`) + " " +
pad(`${seconds} Seconds`))
}
module.exports = { module.exports = {
name: 'info', name: 'info',
trustLevel: 0, trustLevel: 0,
@ -5,6 +18,12 @@ module.exports = {
"information", "information",
], ],
description: 'check the bots info', description: 'check the bots info',
usages: [
"version",
"login",
"discord",
"server",
],
execute (context) { execute (context) {
const bot = context.bot; const bot = context.bot;
const args = context.arguments; const args = context.arguments;
@ -28,7 +47,83 @@ module.exports = {
]); ]);
break; break;
case 'discord': case 'discord':
bot.tellraw('@a', config.discord.invite) // bot.tellraw('@a', config.discord.invite)
bot.tellraw("@a", [
{
text: `the discord server invite is ${config.discord.invite}`,
color: "gray",
translate: "",
hoverEvent: {
action: "show_text",
value: [
{
text: "click here to join the discord server!",
color: "gray",
}
]
},
clickEvent: {
action: "open_url",
value: `${config.discord.invite}`
}
},
])
break
case "server":
bot.tellraw(`@a[name="${source?.player?.profile?.name}"]`, [
{
text: `Hostname \u203a ${os.hostname()}\n`,
color: "gray"
},
{
text: `Working Directory \u203a ${process.mainModule.path}\n`,
color: "gray"
},
{
text: `Arch \u203a ${os.arch()}\n`,
color: "gray"
},
{
text: `OS \u203a ${os.platform()}\n`,
color: "gray"
},
{
text: `OS Version/distro \u203a ${os.version()}\n`,
color: "gray",
},
{
text: `Kernel Version \u203a ${os.release()}\n`,
color: "gray"
},
{
text: `Cores \u203a ${os.cpus().length}\n`,
color: "gray",
},
{
text: `CPU \u203a ${os.cpus()[0].model}\n`,
color: "gray"
},
{
text: `Server Free memory `,
color: 'gray'
},
{
text: `${Math.floor( os.freemem() / 1048576, )} `,
color: 'gray'
},
{
text: `MiB / ${Math.floor(os.totalmem() / 1048576)} MiB\n`,
color: 'gray'
},
{
text: `Device uptime \u203a ${format(os.uptime())}\n`,
color: 'gray'
},
{
text: `Node version \u203a ${process.version}`,
color: 'gray'
}
])
break break
} }
} }

21
src/commands/kick.js Normal file
View file

@ -0,0 +1,21 @@
module.exports = {
name: 'kick',
trustLevel: 1,
aliases: [
],
description: 'kick or crash players',
usages: [
"invalidstring <player>",
],
execute (context) {
const bot = context.bot
const args = context.arguments;
if (!args && !args[0] && !args[1] && !args[2] && !args[3]) return
console.log(Object.keys(bot.exploits))
switch (args[1]) {
case 'invalidstring':
bot.core.run(`minecraft:tellraw ${args.slice(2).join(' ')} ${JSON.stringify(bot.exploits.invalidString)}`)
break
}
}
}

View file

@ -1,20 +1,17 @@
const CommandError = require('../util/command_error') const CommandError = require('../util/command_error');
const { EmbedBuilder } = require('discord.js') const { EmbedBuilder } = require('discord.js');
const { request } = require('undici');
module.exports = { module.exports = {
name: 'list', name: 'list',
description:['check the player list'], description:['check the player list'],
trustLevel: 0, trustLevel: 0,
aliases:['playerlist', 'plist', 'pl'], aliases:['playerlist', 'plist', 'pl'],
usage:[""], usage:[""],
async execute (context) { execute (context) {
const bot = context.bot const bot = context.bot
const args = context.arguments const args = context.arguments
const players = bot.players const players = bot.players
const source = context.source const source = context.source
const component = [] const component = []
const url = await request(`https://eu.mc-api.net/v3/server/ping/${bot.options.host}`)
const server = await url.body.json()
for (const player of players) { for (const player of players) {
component.push({ component.push({
translate: `%s \u203a %s [%s %s %s %s %s]`, translate: `%s \u203a %s [%s %s %s %s %s]`,
@ -35,8 +32,6 @@ module.exports = {
{ text: `Players: `, color:'gray' }, { text: `Players: `, color:'gray' },
{ text: '(' , color: 'gray' }, { text: '(' , color: 'gray' },
{ text: `${JSON.stringify(bot.players.length)}`, color: 'gold' }, { text: `${JSON.stringify(bot.players.length)}`, color: 'gold' },
{ text: ` / `, color: 'gray' },
{ text: `${server.players.max}`, color: 'gold' },
{ text: ')\n', color: 'gray' }, { text: ')\n', color: 'gray' },
component component
]) ])
@ -47,5 +42,3 @@ module.exports = {
const players = bot.players const players = bot.players
} }
} }
//what is wi
// IDK

View file

@ -4,10 +4,13 @@ module.exports = {
name: 'mcserver', name: 'mcserver',
trustLevel: 0, trustLevel: 0,
aliases: [ aliases: [
// "say", "pingserver",
// "botsay", // "botsay",
], ],
description: 'look up minecraft server info', description: 'look up minecraft server info',
usages: [
"<minecraft server ip>",
],
async execute (context) { async execute (context) {
const bot = context.bot; const bot = context.bot;
const discordClient = context.discordClient; const discordClient = context.discordClient;
@ -37,10 +40,10 @@ module.exports = {
server.description, server.description,
])// error: 'Ping Failed', ])// error: 'Ping Failed',
} catch (error) { } catch (error) {
if (error.toString() === "TypeError: Cannot read properties of undefined (reading 'online')") { if (error.toString() === "TypeError: Cannot read properties of undefined (reading 'online')" || server.error === "Ping Failed") {
bot.tellraw({ text: 'unable to ping server make sure the ip is correct', color: 'dark_red' }) bot.tellraw("@a", { text: 'unable to ping server make sure the ip is correct', color: 'dark_red' })
} else { } else {
bot.tellraw(error.toString()) bot.tellraw("@a", error.toString())
} }
} }
} }

View file

@ -6,20 +6,61 @@ module.exports = {
], ],
description: 'netmsg to other servers', description: 'netmsg to other servers',
usages: [
"<message>"
],
execute (context) { execute (context) {
const message = context.arguments.join(' ') const args = context.arguments;
const bot = context.bot; const bot = context.bot;
const source = context.source const source = context.source
//throw new CommandError('ohio') //throw new CommandError('ohio')
const component = { const component = {
translate: '[%s] %s \u203a %s', translate: '[%s] %s \u203a %s',
with: [ with: [
bot.options.host + ':' + bot.options.port, bot.options.serverName,
source.player.displayName ?? source.player.profile.name, source.player.displayName ?? source.player.profile.name,
message args.join(' ')
] ]
} }
const component2 = {
for (const eachBot of bot.bots) eachBot.tellraw("@a", component) translate: '[%s] %s \u203a %s',
with: [
bot.options.serverName,
source.player.displayName ?? source.player.profile.name,
args.join(' ')
]
}
// bot.bots.filter((eachBot) => { if (eachBot.options.useChat) eachBot.chat.message('sussy');
// else if (!eachBot.options.useChat) eachBot.chat.message('baka!')})
// for (const eachBot of bot.bots) eachBot.tellraw("@a", component)
// for (const eachBot of bot.bots) {
bot.bots.filter((eachBot) => {
if (eachBot.options.serverName === "Savage Friends" && eachBot.options.isSavage && !eachBot.options.useChat && !eachBot.options.isKaboom) {
eachBot.chat.message(`[${bot.options.serverName}] ${bot.getMessageAsPrismarine(source.player.displayName ?? source.player.profile.name)?.toMotd().replaceAll('§','&')} \u203a ${args.join(' ')}`)
} else if (!eachBot.options.serverName !== "Savage Friends" && !eachBot.options.isSavage && !eachBot.options.useChat && eachBot.options.isKaboom) {
eachBot.tellraw("@a", component);
// } else if (eachBot.options.serverName === "Savage Friends" && eachBot.options.isSavage && !eachBot.options.useChat && eachBot.options.isKaboom) {
// eachBot.tellraw("@a", component2);
// } else if (eachBot.options.serverName === "Savage Friends" && eachBot.options.isSavage && eachBot.options.useChat && !eachBot.options.isKaboom) {
// eachBot.chat.message(bot.getMessageAsPrismarine(`[${bot.options.serverName}] ${source.player.displayName ?? source.player.profile.name} \u203a ${args.join(' ')}`)?.toMotd().replaceAll('§','&'))
} else if (!eachBot.options.serverName !== "Savage Friends" && !eachBot.options.isSavage && eachBot.options.useChat && eachBot.options.isKaboom) {
eachBot.chat.message(`&7[&7${bot.options.serverName}&7] ${bot.getMessageAsPrismarine(source.player.displayName ?? source.player.profile.name)?.toMotd().replaceAll('§','&')} &7\u203a ${args.join(' ')}`)
} else if (eachBot.options.useChat && !eachBot.options.isSavage) {
// eachBot.chat.message(bot.getMessageAsPrismarine(`[${bot.options.host}:${bot.options.port}] ${source.player.displayName ?? source.player.profile.name} \u203a ${args.join(' ')}`)?.toMotd().replaceAll('§','&'))
eachBot.chat.message(`&7[&7${bot.options.serverName}&7] ${bot.getMessageAsPrismarine(source.player.displayName ?? source.player.profile.name)?.toMotd().replaceAll('§','&')} &7\u203a ${args.join(' ')}`)
} else if (!eachBot.options.useChat && !eachBot.options.isSavage) {
eachBot.tellraw("@a", component);
}
})
/* if (bot.options.isSavage && !bot.options.isKaboom) {
if (bot.options.serverName === "Savage Friends") {
// eachBot.chat.message(bot.getMessageAsPrismarine(`[${bot.options.serverName}] ${source.player.displayName ?? source.player.profile.name} \u203a ${args.join(' ')}`)?.toMotd().replaceAll('§', '&'))
// eachBot.chat.message(`&7[&7${bot.options.serverName}&7] ${bot.getMessageAsPrismarine(source.player.displayName ?? source.player.profile.name)?.toMotd()?.replaceAll('§','&')} &7\u203a ${args.join(' ')}`)
}
} else {
eachBot.tellraw("@a", component)
}*/
// }
} }
} }

Some files were not shown because too many files have changed in this diff Show more