Set up Discord notifications with the discourse-chat-integration plugin

I’m going to edit the topic with a few changes.
Adding to the following:

  • Webhooks are in the format https://discord.com/api/webhooks/.
  • There is also a Canary version of discord where webhooks are in the format https://canary.discord.com/api/webhooks/
  • The warning is now redundant as the discord app is now located in Discord instead of https://discordapp.com. https://discordapp.com serves as a redirect to the new link

That definitely clears up some issues for people adding Discord notifications using chat integration. I had just updated the instructions now because of Discord’s latest changes.

For those afraid of steps, there’s only 7 now because the warning counted as a step :slight_smile:

Hello, I can’t post Discourse messages in a Discord forum thread. Would you have a solution for me?

I get the error discoursechatintegration://:ProviderError when I try to send a test message. (I did add the thread ID at the end, from the address ?thread_id=111111111). I tried sending test messages with the discohook.org tool and had no problems, so I think my settings are fine ?

It looks like Hashtags are getting a #makeover category references aren’t rendered correctly in this discourse-chat-integration plugin.

E.g.: this comment:

was rendered in discord like this:

Note that the category references are rendered as <span class=hashtag-icon-placeholder"></span>Category-Name</span> — literal HTML, and also unbalanced spans.

(Because the content of the message I quote obliquely references this plugin: This was me gently encouraging a new forum user to choose the most specific category, so that this plugin would know to send a notification. I’m not reporting the behavior of not sending notifications to discord when a topic is newly moved into a watched category as a bug; that’s a reasonable limitation IMHO.)

Not a big deal but I thought I’d mention it since I noticed it. :smiling_face:

This has been fixed as of the following Discourse update:

Specifically, syncing topics and posts from Discourse to Discord forums via the chat-integration plugin should now create a new forum post in Discord.

Note that with this integration, new topics and replies will appear the same in the forum channel, and you will need to open each forum thread to see the post content.