From eca06caf75e1c762b48565dd177a3421d7ff6817 Mon Sep 17 00:00:00 2001 From: lza_menace Date: Thu, 6 Aug 2020 01:40:18 -0700 Subject: [PATCH] escaping exclamation points --- tipbot/commands/tip.py | 2 +- tipbot/commands/withdraw.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tipbot/commands/tip.py b/tipbot/commands/tip.py index c224303..744af24 100644 --- a/tipbot/commands/tip.py +++ b/tipbot/commands/tip.py @@ -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}') diff --git a/tipbot/commands/withdraw.py b/tipbot/commands/withdraw.py index e11578d..7a3bed1 100644 --- a/tipbot/commands/withdraw.py +++ b/tipbot/commands/withdraw.py @@ -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}')