mirror of
https://git.wownero.com/lza_menace/tg-bot.git
synced 2024-08-15 00:23:12 +00:00
escaping exclamation points
This commit is contained in:
parent
315019a8ff
commit
eca06caf75
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ def tip(update, context):
|
|||
tx = wownero.Wallet().transfer(dest_address=address, amount=wownero.as_wownero(amount), priority=2, account=tipper.account_index)
|
||||
if 'tx_hash' in tx:
|
||||
h = tx['tx_hash']
|
||||
msg = f'Tipped @{target_un} {amount} WOW! TX ID: [{h}](https://wownero.club/transaction/{h})'
|
||||
msg = f'Tipped @{target_un} {amount} WOW\! TX ID: [{h}](https://wownero.club/transaction/{h})'
|
||||
update.message.reply_text(msg, parse_mode=ParseMode.MARKDOWN_V2)
|
||||
else:
|
||||
logging.error(f'Transaction failure details for {tipper.telegram_user} ({tipper.telegram_id}): {tx}')
|
||||
|
|
|
@ -43,7 +43,7 @@ def withdraw(update, context):
|
|||
tx = wownero.Wallet().transfer(dest_address=address, amount=wownero.as_wownero(amount), priority=2, account=sender.account_index)
|
||||
if 'tx_hash' in tx:
|
||||
h = tx['tx_hash']
|
||||
msg = f'Sent {amount} WOW! TX ID: [{h}](https://wownero.club/transaction/{h})'
|
||||
msg = f'Sent {amount} WOW\! TX ID: [{h}](https://wownero.club/transaction/{h})'
|
||||
update.message.reply_text(msg, parse_mode=ParseMode.MARKDOWN_V2)
|
||||
else:
|
||||
logging.error(f'Transaction failure details for {sender.telegram_user} ({sender.telegram_id}): {tx}')
|
||||
|
|
Loading…
Reference in a new issue