Closed fadhilahmadd closed 1 hour ago
barangkali membantu, tambah let claimOption; pada fungsi main()
async function main() { displayHeader();
const provider = new JsonRpcProvider(RPC_URL);
let claimOption;
.... dst } Work😁
Claim fragmentz yg Type 12 hours reccuring claim, setelah selesai cronjob gajalan Error : /root/rivalz-ai-bot/index.js:210 if (action === '1' && claimOption === '2') { ^
ReferenceError: claimOption is not defined at main (/root/rivalz-ai-bot/index.js:210:29)
Node.js v22.11.0
Fixed here: https://github.com/dante4rt/rivalz-ai-bot/commit/8dfd7b991283b7a23369f721aeb209aebe16183e
Thank you!
Claim fragmentz yg Type 12 hours reccuring claim, setelah selesai cronjob gajalan Error : /root/rivalz-ai-bot/index.js:210 if (action === '1' && claimOption === '2') { ^
ReferenceError: claimOption is not defined at main (/root/rivalz-ai-bot/index.js:210:29)
Node.js v22.11.0