ayn2op / discordo

A lightweight, secure, and feature-rich Discord terminal client.
MIT License
2.02k stars 63 forks source link

Threads not shown #309

Open nison-jp opened 1 year ago

nison-jp commented 1 year ago

I've joined some continuous threads, but these threads are not shown in discordo.

Discord Official FAQ about Threads: https://support.discord.com/hc/ja/articles/4403205878423-Threads-FAQ

nison-jp commented 1 year ago

According to the Discord Developer Document, Threads have been designed to be very similar to channel objects, but do NOT seem to be the same as channels. Therefore, retrieving and chatting in the thread may need additional development.

https://discord.com/developers/docs/topics/threads

UA-koval commented 10 months ago

I have an opposite problem There is a text channel with 2 threads I am in. I can read/write to threads, but I cannot view content of text channel itself.

daef commented 9 months ago

i like the idea of dropping one more electron app from my workflow, but we heavily rely in threads - so i cannot use discordo yet :/

what's missing / how would i get started if i wanted to hack threads into discordo?

ayn2op commented 9 months ago

i like the idea of dropping one more electron app from my workflow, but we heavily rely in threads - so i cannot use discordo yet :/

what's missing / how would i get started if i wanted to hack threads into discordo?

Guild thread events are not sent to the client by default. When a guild is selected in the guilds tree, you must send the guild subscription event (opcode: 14) with the fields guild_id as the selected guild ID and threads as true to receive guild thread events (you can see the structure of the guild subscribe event here). Currently, the official client sends the guild subscribe event every time a guild is selected:

image

Join our Discord server for further assistance.