I rewrote the code of the PancakeSwap Prediction Game BOT by bobalice7, removing the malicious code where for each transaction to the smart contract it sent transactions to this wallet 0xfB669b0e0656036D747d6C6F2666e530139d2899.
ReferenceError: getCakeBalance is not defined
at getPersonalBalance (/Pancakeswap-Prediction-Bot/bot-lib/pcs-bot.module.js:145:72)
at startBotCommand (/Pancakeswap-Prediction-Bot/bot-lib/pcs-bot.module.js:63:25)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async init (/Pancakeswap-Prediction-Bot/bot-script/pcs-bot.js:25:3)
Hi, I'm attempting to run the bot with SIMULATION_MODE set to false, but I am receiving the following error:
Pancakeswap-Prediction-Bot/bot-lib/pcs-bot.module.js:145 const balance = getCrypto() === BNB_CRYPTO ? await getBNBBalance() : await getCakeBalance(); ^
ReferenceError: getCakeBalance is not defined at getPersonalBalance (/Pancakeswap-Prediction-Bot/bot-lib/pcs-bot.module.js:145:72) at startBotCommand (/Pancakeswap-Prediction-Bot/bot-lib/pcs-bot.module.js:63:25) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async init (/Pancakeswap-Prediction-Bot/bot-script/pcs-bot.js:25:3)
Any suggestions? Thanks!