Merged
Conversation
MindfulLearner
commented
Sep 16, 2025
Closed
riccardobevilacqua
requested changes
Sep 22, 2025
MindfulLearner
commented
Sep 25, 2025
Comment on lines
+107
to
+109
|
|
||
| Genera SOLO un commento diretto e conciso (1-2 righe massimo) come se FOSSI COINVOLTO personalmente. Usa "io", "mi", "a me" per essere personale. NON FARE DOMANDE. Racconta come ti impatta. USA GRAMMATICA ITALIANA CORRETTA SEMPRE.`; | ||
|
|
Member
Author
There was a problem hiding this comment.
seems not to be working ( ? )
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bot AI per Notizie Tech Automatiche
implementato un bot che condivide automaticamente notizie di attualità informatica con commenti generati dall'AI per animare la community.
Idea disegno
Cosa fa
Il bot cerca notizie tech in italiano e le condivide nel canale con un commento naturale generato da Mistral AI. L'idea è avere contenuti freschi senza sembrare troppo artificiale.
Funzionalità principali:
Per sviluppatori:
/ai-news-v2per testare manualmenteImplementazione tecnica
File modificati:
commands/ai/ai-vanilla-commands.js- Il comando slash per testcommands/ai/comportamento.md- Prompt per l'AI, definisce come deve parlareevents/ai/ai-vanilla.js- Event handler Discord che gestisce l'automazioneDipendenze:
Configurazione necessaria:
Demo
Note tecniche
L'event handler Discord si attiva quando il bot va online e imposta un timer per l'invio automatico. Ho fatto in modo che i commenti sembrino scritti da una persona vera che commenta notizie, non da un bot troppo formale.
Il sistema è robusto con gestione errori e fallback in caso di problemi con le API esterne. heuheuehe