Minor fixes

This commit is contained in:
Djeex 2025-03-14 11:21:56 +00:00
parent 62bc725a1c
commit 23b2f375fc

View File

@ -108,7 +108,7 @@ def send_discord_notification(gpu_name: str, product_link: str, products_price:
"fields": [ "fields": [
{ {
"name": "Prix", "name": "Prix",
"value": f"`{products_price} €`", "value": f"`{products_price}€`",
"inline": True "inline": True
}, },
@ -123,7 +123,7 @@ def send_discord_notification(gpu_name: str, product_link: str, products_price:
"value": f"{PRODUCT_URL}" "value": f"{PRODUCT_URL}"
} }
], ],
"description": f"**:point_right: [Acheter maintenant]({product_link})**",
"url": f"{product_link}", "url": f"{product_link}",
"footer": { "footer": {
"text": "Par KevOut & Djeex" "text": "Par KevOut & Djeex"
@ -191,6 +191,7 @@ def send_sku_change_notification(old_sku: str, new_sku: str):
embed = { embed = {
"title": f"🔄 {PRODUCT_NAME} Changement de SKU détecté", "title": f"🔄 {PRODUCT_NAME} Changement de SKU détecté",
"url": f"{product_link}",
"description": f"**Ancien SKU** : `{old_sku}`\n**Nouveau SKU** : `{new_sku}`", "description": f"**Ancien SKU** : `{old_sku}`\n**Nouveau SKU** : `{new_sku}`",
"color": 16776960, # Jaune "color": 16776960, # Jaune