logo bannerlogo banner
Page Navigator

You can access properties relating to the bot's account using the bot.account object. This object provides various properties that give you information about the authenticated account.

Warning

If the bot isn't logged in, most of these properties will be falsey and have no value. Watch out!

  • bot.account.id: number - the numeric internal game ID of the account.
  • bot.account.firebase.idToken: string - the Firebase ID token of the account, used for authentication.
  • bot.account.firebase.refreshToken: string - the Firebase refresh token of the account, used for re-authentication.
  • bot.account.firebase.expiresIn: string - the timestamp when the Firebase ID token expires.
  • bot.account.firebase.localId: string - the local ID of the Firebase account. (same as bot.acount.firebaseId)
  • bot.account.firebaseId: string -the Firebase ID of the account, used for some auth operations.
  • bot.account.sessionId: string - the session ID of the account, used for some auth operations.
  • bot.account.session: number - a session number for the account, used for some auth operations.
  • bot.account.email: string - the email address associated with the account.
  • bot.account.password: string - the password associated with the account, if set.
  • bot.account.cw.atLimit: boolean - whether the account has reached the daily limit for chikn winner.
  • bot.account.cw.limit: number - the daily times chikn winner has been played.
  • bot.account.cw.secondsUntilPlay: number - the number of seconds until chikn winner can be played again.
  • bot.account.cw.canPlayAgain: number - the date timestamp at which chikn winner can be played again.
  • bot.account.loadout.hatId: number | null - the ID of the hat currently equipped on the account.
  • bot.account.loadout.meleeId: number - the ID of the melee currently equipped on the account.
  • bot.account.loadout.stampId: number | null - the ID of the stamp currently equipped on the account.
  • bot.account.loadout.classIdx: number - the gun id currently used by the account.
  • bot.account.loadout.colorIdx: number - the egg color currently used by the account.
  • bot.account.loadout.grenadeId: number - the ID of the grenade currently equipped on the account.
  • bot.account.loadout.primaryId: number[] - the IDs of each primary weapon currently equipped on the account, in order of the gun IDs.
  • bot.account.loadout.secondaryId: number[] - the IDs of each secondary weapon currently equipped on the account, in order of the gun IDs.
  • bot.account.loadout.stampPositionX: number - the X position of the stamp on the account's loadout (VIP only).
  • bot.account.loadout.stampPositionY: number - the Y position of the stamp on the account's loadout (VIP only).
  • bot.account.ownedItemIDs: number[] - an array of item IDs that the account owns.
  • bot.account.vip: boolean - whether the account is a VIP account.
  • bot.account.emailVerified: boolean - whether the account's email is verified.
  • bot.account.isAged: boolean - whether the bot is considered an "aged" account for chatting
  • bot.account.eggBalance: number - the current egg balance of the account.
  • bot.account.rawLoginData: object - the raw login data used to authenticate the account (advanced users only)
  • bot.account.isDoubleEggWeeknd(): function => boolean - a function that returns whether the current week is a double egg weekend. the typo is intentional, as we love the weeknd.
  • bot.account.stats - the account's stats
    • bot.account.stats.montly - monthly stats
    • bot.account.stats.lifetime - lifetime stats
    • structure for both: click
    • requires BOT_STATS intent
  • bot.account.challenges - an array of the account's challenges, each challenge has the following props:
    • id - the id of the challenge as seen in the Challenge constant
    • name - the name of the challenge
    • desc - the description of the challenge
    • rewardEggs - the egg number reward of the challenge
    • isRerolled - if the challenge was rerolled
    • isClaimed - if the challenge was claimed
    • isCompleted - if the challenge was completed
    • progressNum - the current progress of the challenge
    • goalNum - the goal of the challenge
    • raw - raw data, might have a couple extra properties
    • requires CHALLENGES intent