withdraw: add the ability to specify an OpenAlias address for deposits
This commit is contained in:
parent
cc149c6596
commit
6b7b2df420
|
@ -27,6 +27,7 @@ disable_withdraw_on_error = True
|
||||||
payment_confirmations = 6
|
payment_confirmations = 6
|
||||||
tipbot_balance_cache_time = 35 # seconds
|
tipbot_balance_cache_time = 35 # seconds
|
||||||
site_game_salt = ''
|
site_game_salt = ''
|
||||||
|
openalias_address = None
|
||||||
|
|
||||||
admins = ["freenode:moneromooo", "freenode:moneromoo"]
|
admins = ["freenode:moneromooo", "freenode:moneromoo"]
|
||||||
|
|
||||||
|
|
|
@ -166,6 +166,8 @@ def Help(link):
|
||||||
link.send_private("You can send %s to your account:" % coinspecs.name);
|
link.send_private("You can send %s to your account:" % coinspecs.name);
|
||||||
address=GetTipbotAddress() or 'ERROR'
|
address=GetTipbotAddress() or 'ERROR'
|
||||||
link.send_private(" Address: %s" % address)
|
link.send_private(" Address: %s" % address)
|
||||||
|
if config.openalias_address != None:
|
||||||
|
link.send_private(" (or %s when using OpenAlias)" % config.openalias_address)
|
||||||
link.send_private(" Payment ID: %s" % GetPaymentID(link))
|
link.send_private(" Payment ID: %s" % GetPaymentID(link))
|
||||||
link.send_private("Incoming transactions are credited after %d confirmations" % config.payment_confirmations)
|
link.send_private("Incoming transactions are credited after %d confirmations" % config.payment_confirmations)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue