👝

The Bot’s Wallet


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)); } });

 
Built with Potion.so