blockchair.com -> blockcypher.com

moins de pubs
This commit is contained in:
nyanloutre 2023-06-13 17:20:04 +02:00
parent baafc544b5
commit d7970444d7
1 changed files with 3 additions and 3 deletions

View File

@ -218,7 +218,7 @@ async def dogetip(update: Update, context: CallbackContext):
"🚀 Transaction effectuée 🚀\n\n" "🚀 Transaction effectuée 🚀\n\n"
+ f"{str(montant)} DOGE\n" + f"{str(montant)} DOGE\n"
+ f"@{update.message.from_user.username} → @{destinataire}\n\n" + f"@{update.message.from_user.username} → @{destinataire}\n\n"
+ f'<a href="https://blockchair.com/dogecoin/transaction/{txid}">Voir la transaction</a>' + f'<a href="https://live.blockcypher.com/doge/tx/{txid}">Voir la transaction</a>'
) )
await context.bot.send_message( await context.bot.send_message(
@ -283,7 +283,7 @@ async def withdraw(update: Update, context: CallbackContext):
chat_id=update.message.chat_id, chat_id=update.message.chat_id,
parse_mode=ParseMode.MARKDOWN, parse_mode=ParseMode.MARKDOWN,
text="Transaction effectuée !\n" text="Transaction effectuée !\n"
+ f"[tx](https://blockchair.com/dogecoin/transaction/{txid})", + f"[tx](https://live.blockcypher.com/doge/tx/{txid})",
) )
@ -292,7 +292,7 @@ async def users(update: Update, context: CallbackContext):
reply = "" reply = ""
for user in query: for user in query:
reply += ( reply += (
f"\n{repr(user)}\thttps://blockchair.com/dogecoin/address/{user.address}" f"\n{repr(user)}\thttps://live.blockcypher.com/doge/address/{user.address}"
) )
await update.message.reply_text(reply) await update.message.reply_text(reply)