You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
444 B
Python
14 lines
444 B
Python
4 years ago
|
def qr(update, context):
|
||
|
if len(context.args) < 1:
|
||
|
update.message.reply_text('Not enough arguments passed.')
|
||
|
return False
|
||
|
|
||
|
# validate address
|
||
|
if len(context.args[0]) in [97, 108]:
|
||
|
address = context.args[0]
|
||
|
else:
|
||
|
update.message.reply_text('This does not look like a valid Wownero address. Try again.')
|
||
|
return False
|
||
|
|
||
|
update.message.reply_text(f'https://wownero.club/address/{address}')
|