Descrizione
Connettore enterprise per Discord — la piattaforma di comunicazione real-time nata gaming e ora standard de-facto per community tech, open-source maintainer team, developer relations, web3/crypto project, e DevOps stack alternative a Slack (oltre 150M MAU, 19M server attivi). Due modalità operative: (1) Webhook mode — il modo SEMPLICE per inviare messaggi senza creare un bot; un webhook URL identifica univocamente il canale destinazione (l'admin Discord lo genera in Server Settings → Integrations → Create Webhook, scegliendo il channel target + icona + nome custom del sender), nessuna autenticazione OAuth/Bot Token richiesta, rate-limit 5 msg/sec per webhook che il nodo gestisce con backoff exponential automatico su 429; (2) Bot API mode — il modo AVANZATO con Bot Token (formato Bot xxxxxxxx con privileged intents) che sblocca features impossibili via webhook: aggiungere reactions a un messaggio esistente, creare reply in thread (i thread sono sub-conversation Discord 2022+), DM diretti ai user, slash commands custom, presence updates del bot, gestione voice channel join. Supporto pieno del payload Discord moderno: plain text con markdown subset (bold **, italic *, code `, codeblock ```, spoiler ||), embed cards (la feature kilattributo Discord — rich preview con title + description + color + thumbnail + fields strutturati + footer + author block), file attachments multi (fino a 10 file × 25MB per messaggio in Tier 0 Boost server, 50MB Tier 2, 100MB Tier 3), mentions (@user via user_id, @role via role_id, @here per online member del canale, @everyone con permission check). Output: { messageId (snowflake Discord unique), channelId, sentAt (ISO 8601), webhookOk, mentionedUsers, attachmentUrls? (per replay/log) }. Use case: notify team developer su run workflow CI falliti con embed color rosso + link al run viewer FlowForge dashboard; deploy alert nel canale #devops con embed status verde "✅ Deploy 20260606_123117 OK" e changelog inline; community announcement automatico nel canale #news post-pubblicazione blog post sul sito (sync MDX + webhook Discord); monitoraggio uptime con embed color-coded (rosso > 5xx, giallo p95 > 3s, verde sano) per il dashboard SRE; thread reply per discussion gruppo support: il bot apre un thread per ogni ticket nuovo Zendesk e linka nel thread l'update di status, evitando di intasare il canale principale con messaggi sparsi; gaming community che lancia eventi automatic con countdown timer e role mentions per @evento-mensile.
