Hello, I’m wondering if it’s possible, or a discord bot already exists that you can setup to automatically link to new threads that pops up on a discourse forum. Preferably so that it will only link threads from a specific category
1 Mi Piace
This gets you very close:
Purpose of this plugin
This plugin does several things:
Allows you to power a Discord bot using your Discourse server to do stuff to link the two systems. Fork this repo and expand it with simple Ruby to create all kinds of bot functionality.
Existing functionality to serve as examples and useful utility:
Provides some two-way auto posting of content that meet some criteria.
Command to copy messages ad hoc to Discourse
Command to sync group membership to role membership of your Discor…
Specifically this which I added recently which may do exactly as you require already.
OK I’ve developed the plugin a little further now and have POC for two way communication working:
Here are the new settings
[image]
You can designate an Announcements Channel on Discord in the plugin settings.
You can now type into the assigned Discord Announcements Channel and this will post your message to your assigned Discourse Topic in the plugin settings
You can set up a list of Categories in Discourse to post to the Announcements channel on your Discord if someone Posts there o…
Fork and expand as required.
2 Mi Piace
Aha, that seems a bit overly complex, I don’t want to sync members between the discourse and discord server. Just simply a bot that “listens” to certain categories, and links any new thread in that category to a discord channel
1 Mi Piace
The syncing is completely optional. The syncing is initiated by bot command at present. If you don’t want it, you don’t run the command.
Thats exactly what it does. Did you go to the second link?
Feel free to try coding a simpler solution, but I suspect your requirement is met.
1 Mi Piace
Yuun
(Sam)
17 Marzo 2021, 2:35pm
5
Depending on what you need, the official chatroom integration plugin may work for you as well:
Chat Integration is for using an external chat system together with Discourse — you may be looking for Discourse Chat which adds Chat functionality directly to Discourse.
Summary
Discourse Chat Integration allows you to integrate your chat system of choice with Discourse.
Install Guide
This plugin is bundled with Discourse core. There is no need to install the plugin separately.
Features
discourse-chat-integration allows sendi…
I had it configured to do what you’re asking for at one point, I remember it being pretty straightforward.
1 Mi Piace