Merge branch 'main' of code.chipmunk.land:7cc5c4f330d47060/botv12

This commit is contained in:
7cc5c4f330d47060 2024-12-03 00:34:27 -05:00
commit 1513c24cdc
Signed by: 7cc5c4f330d47060
SSH key fingerprint: SHA256:e+4tcZut1nBpe10PqjaO+Rvie0Q7W4qIvFzcUw+7riA

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
} }
}) })