Dis4IRC icon indicating copy to clipboard operation
Dis4IRC copied to clipboard

Support threads

Open Phoenix616 opened this issue 3 years ago • 4 comments

Discord is rolling out a new feature called "Threads". Simply forwarding new messages from them (maybe with some thread ID in the message?) should be enough imo.

I assume JDA needs to add support first though :S

Phoenix616 avatar Jul 27 '21 18:07 Phoenix616

JDA is working on this as told in the JDA Discord, but there is no idea how long this will take.

Codixer avatar Jul 28 '21 02:07 Codixer

Thanks - was trying to wrap my head around the best way to deal with this as well. My original thought was just to treat threads similarly to how we handle replies currently. So we'd just include the additional context of the previous message (n-1) with the latest message in that thread (n). A thread ID might work better but I'm not sure.

Honestly, bridging this sort of thing to IRC is never going to be ideal I suspect. If some guild makes a ton of threads under a channel then it also won't scale well. I guess we'll just have to try it and see once JDA adds support.

zachbr avatar Aug 02 '21 03:08 zachbr

Yeah, that's going to be a fun story @zachbr. JDA is working on this, but as told in their discord. For this to work, they have to rewrite the plugin to JDA v5 to support all the new features. And moving to discord api v9. So this is going to bring A LOT of deprication problems.

Codixer avatar Aug 06 '21 11:08 Codixer

Well the JDA v5-threads branch seems to have some recent activity which could enable this and Javacord now also supports it :eyes: (but I would hope JDA v5 addresses some of the issues that I see with the overall JDA design which made me choose Javacord instead so I doubt I need to push this project to another library too)

Phoenix616 avatar Oct 15 '21 17:10 Phoenix616