28 Commits
Author SHA1 Message Date
Mow910 fc274b47ae Implement cooldown feature for ProtonDB command in TwitchBot and update configuration options in webapp
- Added a cooldown mechanism to the ProtonDB command to prevent spamming.
- Introduced a new configuration option for setting the cooldown duration in seconds.
- Updated the ProtonDB template to include the new cooldown setting for Twitch users.
2026-03-24 00:21:02 +01:00
Mow910 a93d5cda70 Refactor ProtonDB command execution in TwitchBot for improved context handling
- Introduced a helper function `_search` to encapsulate the ProtonDB search logic within the app context.
- Updated the command execution to use the new helper function, enhancing code clarity and maintainability.
2026-03-24 00:02:49 +01:00
Mow910 c9f27bf09e Add ProtonDB command support for Twitch and update configuration options
- Introduced `cmd_pdb` command in TwitchBot for ProtonDB integration.
- Registered new command for Twitch and updated chat command list.
- Added configuration options for enabling ProtonDB on Twitch in the webapp.
- Updated ProtonDB template to include new settings and permissions for Twitch users.
2026-03-24 00:00:05 +01:00
Mow910 245aaf9c6d Enhance TwitchBot connection handling by implementing a reconnection strategy that restarts the session after 90 seconds of disconnection. Update logging messages for clarity. Modify Twitch moderation template layout for improved responsiveness and user experience, adjusting grid classes and simplifying live status display. 2026-03-18 20:37:29 +01:00
Mow910 6ef0b6856e Enhance Twitch and Discord bot functionality by updating BOT_STATUS management. Added tracking for Twitch message timestamps and messages per minute, improved connection handling, and refined live status updates. Updated webapp to reflect new status attributes and modified Twitch moderation template for better chat message handling. 2026-03-18 20:31:40 +01:00
Mow910 af86ba9a8e Refactor TwitchBot event loop management by replacing get_event_loop with get_running_loop for improved compatibility with asynchronous operations. This change enhances the bot's readiness handling and ensures consistent event loop usage. 2026-03-10 20:11:13 +01:00
Mow910 ce5f60a2d7 Enhance TwitchBot message sending by integrating event loop management. Updated send_twitch_message to utilize the existing event loop for asynchronous message sending, improving reliability and error handling. Added timeout handling for message sending operations. 2026-03-10 19:59:44 +01:00
Mow910 c8c1e0c283 Refactor chat message deletion methods in moderation and link filter modules. Updated to use delete_chat_message instead of delete_chat_messages for improved clarity and consistency in message handling. 2026-03-10 18:45:55 +01:00
Mow910 10dd78f630 Ajout de la gestion des informations de stream dans le bot Twitch. Implémentation de la fonction de remplacement des variables de commande pour inclure des informations dynamiques telles que le titre du stream, le nom du jeu, le nombre de viewers et l'uptime. Mise à jour de l'interface utilisateur pour afficher ces informations en temps réel dans la modération Twitch. 2026-03-06 13:48:43 +01:00
Mow910 77c3c11556 Ajout de la gestion de l'édition des commandes Twitch et des logs de modération. Implémentation d'un endpoint pour modifier les commandes existantes avec validation des données et gestion des permissions. Ajout d'un endpoint pour récupérer les logs de modération récents, améliorant ainsi la traçabilité des actions. Mise à jour de l'interface pour intégrer un système de notifications et des animations. 2026-03-04 19:38:05 +01:00
Mow910andCursor b274dcaa51 Ajout de fonctionnalités majeures Twitch, Discord et interface web
Nouvelles fonctionnalités :
- Système de modération Twitch complet (bans, timeouts, avertissements)
- Filtre de liens intelligent pour Twitch avec whitelist/blacklist
- Notifications d'événements Twitch (follows, subs, raids, etc.)
- Système Freeloot Discord avec flux RSS dédié
- Salons automatiques Discord (création/suppression dynamique)
- Authentification utilisateur pour l'interface web (login/register)
- Gestion des utilisateurs et permissions
- Interface de modération Twitch dans la webapp
- Interface de gestion des événements Twitch
- Configuration des paramètres utilisateur
- Migration BDD pour les mots bannis

Améliorations de l'interface :
- Refonte complète des templates (configurations, commandes, humeurs, etc.)
- Nouvelle page de settings utilisateur
- Page de gestion des utilisateurs (admin)
- Page d'erreur 403 personnalisée
- Amélioration de la navigation et du design global
- Intégration de nouvelles sections dans le menu principal

Modifications techniques :
- Ajout de nouveaux modèles en base de données
- Extension des helpers database
- Mise à jour des dépendances (requirements.txt)
- Amélioration de la gestion des annonces Twitch
- Refactorisation du code pour meilleure maintenabilité

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 22:37:22 +01:00
Mow910 d941fdcf9c Annonce twitch 2026-02-01 13:38:48 +01:00
Mow910 48531690fd Accueil restructuré (zones Discord/Twitch, stats, indicateur connexion) + Top 3 sanctions/modérateurs + BOT_STATUS dans config Flask 2026-02-01 12:55:38 +01:00
Kepka Ludovic 46c927a768 correction logger live logging 2025-09-14 00:44:40 +02:00
Kepka Ludovic d2baa164d4 Ajout de log pour la notification de live 2025-09-13 00:25:58 +02:00
Kepka Ludovic 16bc34d2b7 Ajout de log pour la notification de live 2025-09-13 00:23:07 +02:00
Kepka Ludovic 04bb351593 continuer de scanner meme si la chaine est désactivé 2025-08-31 21:10:27 +02:00
Kepka Ludovic 5c96a8a18a Alerte de live 2025-08-30 11:42:35 +02:00
Kepka Ludovic ba7820170c J'arrive à avoir les info de live 2025-08-29 10:27:53 +02:00
skylanix 60304a85c2 Merge branch 'main' into ProtonDbGameAlias 2025-08-22 15:46:23 +02:00
skylanix a4ce31a39b Log en français et corrections, description page protondb 2025-08-22 15:40:41 +02:00
skylanix 07719923b3 Log en français 2025-08-22 14:11:27 +02:00
Kepka Ludovic f772f3cace message plus explicite 2025-08-22 14:11:27 +02:00
Kepka Ludovic 464180e148 Erreur d'authentification twitch 2025-08-22 14:11:27 +02:00
Kepka Ludovic cf8fd43a4e Bot twitch 2025-08-21 22:54:55 +02:00
Kepka Ludovic 206e71758c le bot se connect et repond à \!hello 2025-08-21 22:54:55 +02:00
Kepka Ludovic a69d09223e tentative lancement bot twitch 2025-08-21 22:54:55 +02:00
Kepka Ludovic 0c1dae22f5 draft twitch bot 2025-08-21 22:54:55 +02:00