Configurar notificações do Discord com o 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 curtidas

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 curtida

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 curtidas

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 curtida

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 curtidas

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 curtida

Isso só pode postar uma mensagem em um canal específico do Discord quando um novo tópico é criado em uma categoria específica do fórum? Ou ele postará cada postagem em uma categoria? Eu só quero novos tópicos, não respostas.

Ao ativar a integração de chat e o Discord, tudo o que vejo é isso, sem outras opções para criar um canal. Esse plugin ainda está atualizado para a versão 2.6.0 beta?

A configuração de canal/regra está em outra parte do painel de administração:

1 curtida

Obrigado! Acabei de pesquisar por ‘discord’ no painel de administração e também tentei ir diretamente às configurações do plugin. Não percebi que havia uma subaba.

Quando vou em Integrações de Chat → Discord, não há nenhum botão de canal ou configurações. Apenas ‘conteúdo da mensagem’ e ‘tamanho do resumo’. Não há onde colar meu webhook do Discord. Ajuda?

Tenho o mesmo problema que o @billnew


É só isso que vejo!

Você precisa visitar a aba “plugins” no topo da tela. NÃO a aba de plugins à esquerda das configurações do site

1 curtida

Eu fiz.