dante4rt / rivalz-ai-bot

A bot for interacting with the Rivalz Fragmentz claimer using Ethereum wallets.
https://t.me/HappyCuanAirdrop
MIT License
24 stars 21 forks source link

Claim Fragmentz #4

Closed fadhilahmadd closed 1 hour ago

fadhilahmadd commented 2 hours ago

Screenshot 2024-11-17 at 16 34 20 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

fadhilahmadd commented 2 hours ago

barangkali membantu, tambah let claimOption; pada fungsi main()

async function main() { displayHeader();

const provider = new JsonRpcProvider(RPC_URL);

let claimOption;

.... dst } Screenshot 2024-11-17 at 16 34 56 Work😁

dante4rt commented 1 hour ago

Screenshot 2024-11-17 at 16 34 20 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!