giveMoney Home › Forums › Developing with SmartBots › Bots Playground (JavaScript) › giveMoney This topic has 1 reply, 2 voices, and was last updated 7 years, 6 months ago by Glaznah Gassner. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts October 30, 2016 at 22:08 #248 Conri.GennaParticipant When using the ‘Bot.giveMoney’ function I receive the error “TypeError: Bot.giveMoney is not a function”. Is there something I am not doing correctly? Bot.giveMoney(ownerKey, event.amount) .then(function(event) { console.log("Paid Owner"); }); November 1, 2016 at 11:42 #261 Glaznah GassnerKeymaster Conri, we fixed the giveMoney function and published a new one called getBalance(). Check this page for a comprehensive example: https://www.mysmartbots.com/dev/docs/Bot_Playground/Examples/Working_with_bot_money_balance Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In