This #howto describes how to setup the Discord provider included in
If you haven’t already, install the discourse-chat-integration plugin
Login to your Discord server
Click your server name, and choose “Server Settings”
Go to the Webhooks tab, then click Create Webhook
Choose a bot name, icon, and the Discord channel you want to post to.
Copy the “Webhook URL”, then hit Save
In your site settings, enable the
chat integration discord enabledsetting
Go to the Plugins tab, then Chat Integrations
In the Discord section, click Create Channel
Enter a name for the channel (this is only displayed in the admin panel, it can be anything).
Paste the “Webhook URL” that you copied earlier, then click Save Channel.
If you use the Public Test Build app all the webhooks are in this format
https://ptb.discordapp.com/api/webhooks/, so remember to delete
ptb.part from the webhook before save.
Use the Test button on the channel you just created to check that everything’s working. You should see something like this:
Setup some “Rules” for your channel, according to the discourse-chat-integration instructions.
You can use the
chat_integration_discord_message_content setting to add a message before every notification. This can be used to simply add some text, or
@mention some users/groups. For example, setting it to
@everyone would result in a notification like this: