Ajout fonctionnalité des commandes Discord

This commit is contained in:
skylanix
2025-08-18 02:08:01 +02:00
committed by skylanix
parent c84438af83
commit 47c9d679df
14 changed files with 155 additions and 23 deletions

View File

@@ -1,19 +1,20 @@
{% extends "template.html" %}
{% block content %}
<h1>Humeurs de Mamie.</h1>
<h1>Humeurs de Mamie</h1>
<p>Définissez les statuts Discord qui changeront automatiquement toutes les 10 minutes pour donner de la personnalité à votre bot.</p>
<table>
<thead>
<tr>
<th>Text</th>
<th>Action</th>
<th class="table_td">Text</th>
<th class="table_td">Action</th>
</tr>
</thead>
<tbody>
{% for humeur in humeurs %}
<tr>
<td>{{humeur.text}}</td>
<td><a href="{{ url_for('delHumeur', id = humeur.id) }}">Supprimer</a></td>
<td class="table_td">{{humeur.text}}</td>
<td class="table_td"><a href="{{ url_for('delHumeur', id = humeur.id) }}" onclick="return confirm('Êtes-vous sûr de vouloir supprimer cette humeur ?')">Supprimer</a></td>
</tr>
{% endfor %}
</tbody>