Member-only story
How to push topics from Discourse to a Discord channel through a bot
The popular community software Discourse has some awesome official plugins, including a plugin that makes it possible to share new Discourse topics in a specific Discord channel.
I’m currently in the process of trying to migrate most members of my Discord channel to a new forum I set up with Discourse. One of the best ways to do this, is to automatically share a link to new topics in the existing Discord server, so the Discord community can become familiar with the Discourse forum.
Fortunately, it’s also pretty easy to automate this through the official Discourse Chat Integration plugin.
Installing the plugin
You install the plugin just like any other Discourse plugin. When that’s done, go to the admin interface of your Discourse setup, choose ‘Plugins’ and browse to the discourse-chat-integration settings page.

Make sure you checked the option Chat integration enabled.
Changing the username
The first thing you should do is think about security. I’ll be setting up a bot that will share all new topics of my forum in a public Discord channel. However, I don’t want to share topics in locked crew-only categories! That’s why it’s a good idea to create a…