Sorry, old school forum speak, Threads being Discourse Topics not the Discord Threads.
Iām happy to pay for custom functionality but i think i have found a workaround by just moving the topic after itās created i feel like that was too simple
Discord threads were around 2 years ago? jeez, iām getting old losing track of time
But yeah, i wonder if it would be easy to add Image and Mention support ?
@merefield Hi! Great work on this. Like many Iām sure, I found this post by trying to search for plugins or bots that can bridge Discourse and Discord in one way or another.
At this point I was just about to give up and hire a developer to handle it for me, but Iām a believer in open source and grateful I stumbled upon this topic first.
On one of the discord communities I help moderate, there are multiple libraries from different authors whose communities overlap and thus they use that Discord and the relevant channel for tech support on that library.
The ideal solution for SEO, knowledge base building, and convenience would be to have everyone use a Discourse forum, but all things equal people simply prefer posting their questions on Discord and the responding party is left to find some manual solution to replicating that conversation into Discourse.
In an effort to combat this inefficiency without forcing a poor UX on the user (e.g. āWelcome to Discord, now go use the Discourse and repeat the same question againā), Iād like to have it so that each library channel main comment has the potential to automatically generate a new topic in the Discourse forum. This would get spammy fast, so I would want it so that it is only triggered if:
it turns into a thread (implying it was a question that was actually responded to)
it was responded with a chosen emoji to by an authorized role (tech support, moderator, admin, etc)
From there, any followup comments in that Discord thread would automatically be followed and posted as responses on the same parent Discourse topic as well. (Note: Itās not important that any user accounts exist ā sending as āsystemā or a designated bot would be acceptable, so long as it mentions the username it originated from in the body of the posts)
Based on these requirements, I have a few questions:
is the bot in question in this topic ready for this?
If not, what parts are not ready yet or not yet planned? (I see threads is something āin the worksā, but if itās a matter of financial priorities I can post a healthy bounty to make it a reality)
If it comes to needing to post said bounty for development, what is the appropriate method for commission? What are the requirements and expectations (costs, timelines, etc)?
Appreciate the work you (and everyone!) has done so far and looking forward to your timely response.
This free plugin is maintained by myself (as part of Pavilion) on a best efforts basis.
There is no roadmap and work on features only happens when there is an outside sponsor.
Your use case is an interesting one.
This 'bot" relies on this Ruby gem which is a critical dependency.
This doesnāt yet support Threading on an official release, however it looks as if some support has been added to the main branch but Iām not sure to what extent, that would be a bit of work in itself to find out and maybe discuss with them if they plan a release at some point. Their documentation is only brought up to date at each release. It is not enough to have support on main branch, they need to update the gem, ideally.
If you are serious about this project I would recommend you discuss the project with Pavilionās project management team in first instance, though you are free to post in marketplace of course.
Go here and hit contact and follow the instructions: Pavilion
@merefield Hi, I installed the plugin but I canāt get the bot to respond to commands on my server.
It correctly displays the āThe Discourse admin bot has started his shift!ā message, but after that it doesnāt react to anything.
Oddly enough, it works when I send it a direct message on Discord. I have checked the permissions on the server and they seem to be configured correctly (I gave the bot admin permissions).
I gave up on it. I donāt think it was the right tool for my use case anyway.
I donāt know why it didnāt work. I did everything carefully, multiple times.
Maybe Discord is acting funny?
Anyway, thanks for trying to help me.
Sorry, just looking back through Posts here and noticed that I gave you incorrect advice and have since implemented hooks which respond to Discourse events that can act in Discord. Some of these may already be useful for you and this technique can be extended to other events:
FEATURE: Restarts the bot thread if the token is changed, or if it becomes enabled (so you donāt need to restart the host server) (thanks again @RGJ !!)
@klausagnoletti, @Fma965 with this API update we finally we now have the ability to interact with Discord Threads via the API which are essentially just additional āchannelsā.
Hi, good job on the script! thanks for making this. I had a few questionsā¦ how often does the bot sync the members in the roles? I just setup discourse and this was one of the first plugins I installed. I created a group on www, added myself and if I manually type !discsync itāll add the discord tag on my name just fine, now if I remove myself from the group on www, or add someone elseā¦ nothing happens unless I manually type !discsync on discord. Is that as intended or should it be syncing every few minutes every 10 mins?