Meilleur message de confirmation

This commit is contained in:
nyanloutre 2017-10-05 14:59:12 +02:00
parent 713dd2ebe3
commit 2d69591b38
Signed by: nyanloutre
GPG Key ID: F85D93686A3A9063
1 changed files with 6 additions and 1 deletions

7
run.py
View File

@ -88,7 +88,12 @@ def dogetip(bot, update, args):
txid = response['data']['txid'] txid = response['data']['txid']
bot.send_message(chat_id=update.message.chat_id, parse_mode=ParseMode.MARKDOWN, text="🚀 Transaction effectuée 🚀\n\n [tx](https://chain.so/tx/" + NETWORK + "/" + txid + ")") message = "🚀 Transaction effectuée 🚀\n\n" \
+ str(montant) + " " + NETWORK + "\n" \
+ update.message.from_user.username + "" + destinataire + "\n\n" \
+ "[Voir la transaction](https://chain.so/tx/" + NETWORK + "/" + txid + ")"
bot.send_message(chat_id=update.message.chat_id, parse_mode=ParseMode.MARKDOWN, text=message)
def register(bot, update): def register(bot, update):
try: try: