Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threads not shown #309

Open
nison-jp opened this issue Jun 14, 2023 · 4 comments
Open

Threads not shown #309

nison-jp opened this issue Jun 14, 2023 · 4 comments
Labels
feat New feature or request good first issue Good for newcomers

Comments

@nison-jp
Copy link

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
Copy link
Author

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
Copy link

UA-koval commented Oct 3, 2023

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.

@ayn2op ayn2op added feat New feature or request good first issue Good for newcomers labels Oct 3, 2023
@daef
Copy link

daef commented Nov 14, 2023

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
Copy link
Owner

ayn2op commented Nov 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

4 participants