lib/bitbot/plugin/balance.rb in tipjar-0.1.191 vs lib/bitbot/plugin/balance.rb in tipjar-0.1.192

- old
+ new

@@ -1,7 +1,7 @@ module Bitbot::Balance def on_balance(m) - user_id = db.get_or_create_user_id_for_username(m.user.user) + user_id = db.get_or_create_user_id_for_username(m.user.nick) m.reply "Your current balance is #{satoshi_with_usd(db.get_balance_for_user_id(user_id))}" m.reply "Please note that a transaction fee of #{satoshi_to_str(withdrawal_fee)} will be added to your withdrawal" end end