Imposta le notifiche Discord con il plugin discourse-chat-integration

Hi @david, nice plugin. I am just trying to set it up, but I cannot find the Discord Tab where to add the chanels and the webhook address. The only thing I see is:

Go to “plugins” at the top of your screen, and then choose “chat integration” from the menu on the left.

3 Mi Piace

Oh, fast reply :slight_smile:Thanks a lot.
Well, yes there I am. I have set chat integration discord enabled to yes, added chat integration discord message content. So, now I cannot find anything more, no Discord Tab…

Sorry, I am blind. Got it. :face_with_raised_eyebrow:

1 Mi Piace

for what it is worth, I can’t find the Discord Tab either… I am not sure this plugin works anymore.

The plugin definitely does still work. Once you have enabled the plugin, and enabled the “discord” provider:

Here’s a screenshot showing where it is located:

3 Mi Piace

Thanks David! It did finally show up and is working now.

@david I am stuck on this i cant find the discord tab or the add channel tab.

Have you refreshed the page since you enabled the chat-integration plugin? Do you have any errors in your javascript console?

1 Mi Piace

I closed the page and tried agin and it worked. Thank you

This is wonderful, however I’m wondering if it’s possible to:

Set thumbnail on the embeds?
How to do proper line breaks in the embeds?

Would really appreciate if someone could provide some more details on this, and if possible also footer settings.

This plugin works great - thank you!

The question is that the ‘tag only’ rule seems a bit inconsistent in working. It seems to work when first created as a Rule under a Discord webhook channel, where we look for a tag (say #chat) but then it seems to stop sending out updates after 5 minutes or so.

Could it be a rate limit thing that Discord have added? I couldn’t see anything in the logs on the Discourse side.

This could very well be rate limiting yes.

Discord allows you to make 5 of “any” requests to their API per 5 seconds, if you exceed this you’ll be rate-limited as described here:

Discord Developer Portal - Rate Limits

3 Mi Piace

Would it be possible for this plugin to support posting thread links to more than one discord server? I’m assuming this would require custom development.

1 Mi Piace

Può pubblicare un messaggio solo in un canale Discord specificato quando viene creato un nuovo argomento in una categoria specifica del forum? Oppure pubblicherà ogni messaggio in una categoria? Voglio solo i nuovi argomenti, non le risposte.

Quando abilito l’integrazione con la chat e Discord, vedo solo questo senza altre opzioni per creare un canale. Questo plugin è ancora aggiornato per la versione 2.6.0 beta?

La configurazione del canale/regole si trova in un’altra sezione del pannello di amministrazione:

1 Mi Piace

Grazie! Ho appena cercato Discord nel pannello di amministrazione e ho anche provato ad accedere direttamente alle impostazioni del plugin. Non sapevo che ci fosse una sottosezione.

Quando vado su Integrazioni chat → Discord, non vedo né un canale né un pulsante delle impostazioni. C’è solo ‘contenuto del messaggio’ e ‘lunghezza dell’estratto’. Non c’è alcun posto dove incollare il mio webhook di Discord. Aiuto?

Ho lo stesso problema di @billnew


È tutto ciò che vedo!

Devi visitare la scheda “plugins” in alto sullo schermo. Non la scheda plugin a sinistra delle impostazioni del sito

1 Mi Piace

L’ho fatto.