Retrieving Wallet Information:
The method
wallet.get() is used to retrieve the balance of the bot's wallet. It returns the current balance of the bot's wallet.// Assuming you have defined the Highrise instance as "bot". bot.on("chatCreate", async (user, message) => { if (message === "wallet") { bot.wallet.get().then(balance => { console.log("The Bot's balance is:", balance); }).catch(e => console.error(e)); } });
Go Back: Buy & Fetch Wallet