New product url + latest tag
This commit is contained in:
parent
952b203461
commit
6f01f67799
@ -67,7 +67,7 @@ Vous trouverez-ci dessous les instructions pour configurer le conteneur avec not
|
|||||||
version: "3.8"
|
version: "3.8"
|
||||||
services:
|
services:
|
||||||
nvidia-stock-bot:
|
nvidia-stock-bot:
|
||||||
image: git.djeex.fr/djeex/nvidia-stock-bot:9
|
image: git.djeex.fr/djeex/nvidia-stock-bot:latest
|
||||||
container_name: nvidia-stock-bot
|
container_name: nvidia-stock-bot
|
||||||
restart: always # Le conteneur redémarrera automatiquement en cas d'échec
|
restart: always # Le conteneur redémarrera automatiquement en cas d'échec
|
||||||
environment:
|
environment:
|
||||||
|
@ -60,7 +60,7 @@ def send_discord_notification(gpu_name: str, product_link: str):
|
|||||||
"""Envoie une notification Discord avec un embed via un webhook."""
|
"""Envoie une notification Discord avec un embed via un webhook."""
|
||||||
embed = {
|
embed = {
|
||||||
"title": f"🚀 {gpu_name} en stock !",
|
"title": f"🚀 {gpu_name} en stock !",
|
||||||
"description": f":point_right: **[Achetez ici](https://marketplace.nvidia.com/fr-fr/consumer/graphics-cards/?locale=fr-fr&page=1&limit=12&gpu=RTX%205090,RTX%205080)**",
|
"description": f":point_right: **[Achetez ici](https://marketplace.nvidia.com/fr-fr/consumer/graphics-cards/?locale=fr-fr&page=1&limit=12&gpu=RTX%205090,RTX%205080&manufacturer=NVIDIA)**",
|
||||||
"color": 3066993, # Couleur verte
|
"color": 3066993, # Couleur verte
|
||||||
"timestamp": time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime()),
|
"timestamp": time.strftime("%Y-%m-%dT%H:%M:%S", time.gmtime()),
|
||||||
#"thumbnail": {
|
#"thumbnail": {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user