{% extends "template.html" %} {% block content %}

Notifications YouTube

{% if msg %}
{{ msg }}
{% endif %}

Liste des chaînes YouTube surveillées pour les notifications de nouvelles vidéos. Le bot vérifie toutes les 5 minutes les nouvelles vidéos des chaînes en dessous. Quand une nouvelle vidéo est détectée, le bot enverra une notification sur Discord.

{% if not notification %}

Notifications

{% for notification in notifications %} {% endfor %}
Chaîne YouTube Canal Discord Type Message #
{{notification.channel_id}} {{notification.notify_channel_name}} {% if notification.video_type == 'all' %} Toutes {% elif notification.video_type == 'video' %} Vidéos uniquement {% elif notification.video_type == 'short' %} Shorts uniquement {% endif %} {{notification.message}} {{ '✅' if notification.enable else '❌' }} 🗑
{% endif %}

{{ 'Editer une notification' if notification else 'Ajouter une notification YouTube' }}

Configuration de base
Personnalisation de l'embed Discord Variables: {video_title}, {channel_name}, {video_url}, {video_id} Variables: {video_title}, {channel_name}, {video_url}, {published_at}, {is_short} Format: FF0000 (rouge YouTube par défaut)

Prévisualisation de l'embed Discord

Nom de la chaîne
Titre de la vidéo
Cette prévisualisation est approximative. L'apparence réelle sur Discord peut varier légèrement.

Variables disponibles pour l'embed :

{% endblock %}