Compare commits

...

6 commits

4 changed files with 16 additions and 15 deletions

16
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "botv12", "name": "botv12",
"version": "12.0.0-alpha.1", "version": "12.0.0-alpha.2",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "botv12", "name": "botv12",
"version": "12.0.0-alpha.1", "version": "12.0.0-alpha.2",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"minecraft-protocol": "^1.49.0" "minecraft-protocol": "^1.49.0"
@ -22,9 +22,9 @@
} }
}, },
"node_modules/@azure/msal-node": { "node_modules/@azure/msal-node": {
"version": "2.16.0", "version": "2.16.2",
"resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-2.16.0.tgz", "resolved": "https://registry.npmjs.org/@azure/msal-node/-/msal-node-2.16.2.tgz",
"integrity": "sha512-oww0oJTOOvPKTVXqVyxfcFVjExQKYEkKR5KM0cTG3jnzt6u/MRMx8XaK49L/bxV35r9sCHQFjNlEShad9qGSYA==", "integrity": "sha512-An7l1hEr0w1HMMh1LU+rtDtqL7/jw74ORlc9Wnh06v7TU/xpG39/Zdr1ZJu3QpjUfKJ+E0/OXMW8DRSWTlh7qQ==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@azure/msal-common": "14.16.0", "@azure/msal-common": "14.16.0",
@ -36,9 +36,9 @@
} }
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.9.0", "version": "22.9.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.0.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.9.1.tgz",
"integrity": "sha512-vuyHg81vvWA1Z1ELfvLko2c8f34gyA0zaic0+Rllc5lbCnbSyuvb2Oxpm6TAUAC/2xZN3QGqxBNggD1nNR2AfQ==", "integrity": "sha512-p8Yy/8sw1caA8CdRIQBG5tiLHmxtQKObCijiAa9Ez+d4+PRffM4054xbju0msf+cvhJpnFEeNjxmVT/0ipktrg==",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"undici-types": "~6.19.8" "undici-types": "~6.19.8"

View file

@ -1,6 +1,6 @@
{ {
"name": "botv12", "name": "botv12",
"version": "12.0.0-alpha.1", "version": "12.0.0-alpha.2",
"description": "Minecraft bot for the Kaboom server", "description": "Minecraft bot for the Kaboom server",
"main": "index.js", "main": "index.js",
"type": "module", "type": "module",

View file

@ -125,7 +125,8 @@ export default function load (b) {
} }
}) })
b.on('plainchat', (msg) => { b.on('plainchat', (msg) => {
if (msg === `You now have the tag: ${parseMc(b.adPrefix).replaceAll('§', '&')}`) { if (msg === `You now have the tag: ${parseMc(b.adPrefix).replaceAll('§', '&')}` ||
msg === 'Something went wrong while saving the prefix. Please check console.') { // Fix the prefix issue
b.sc_tasks.playerlist_ads.failed = 0 b.sc_tasks.playerlist_ads.failed = 0
} }
}) })

View file

@ -1,7 +1,7 @@
export default { export default {
botName: 'botv12 Dev', botName: 'botv12 Dev', // Name of the bot
botVersion: '12.0.0-alpha.1', botVersion: '12.0.0-alpha.2', // Version of the bot. This is different from the one in package.json, which has to be updated seperately.
botAuthor: 'owo439895035', botAuthor: 'owo439895035', // The creator of the bot
isPreRelease: true, isPreRelease: true, // If this version is a pre-release version. Used by the about command to show a warning if set to true.
sourceURL: 'https://code.chipmunk.land/7cc5c4f330d47060/botv12' sourceURL: 'https://code.chipmunk.land/7cc5c4f330d47060/botv12' // Source code repository URL. This is different from the one in package.json.
} }