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

get_archived_public_threads and get_archived_private_threads use a u64 before instead of a timestamp #3014

Open
BigBadE opened this issue Nov 4, 2024 · 0 comments

Comments

@BigBadE
Copy link

BigBadE commented Nov 4, 2024

According to https://github.com/discord/discord-api-docs/blob/main/docs/topics/Threads.md#DOCS_RESOURCES_CHANNEL/list-public-archived-threads, getting archived threads, both public and private, are sorted by archived timestamp. The code instead takes an ID of some form, but the API expects an ISO timestamp. This can easily be fixed by simply switching before from an Option to an Option. Tested locally, and confirmed that this fix works.

It would also be nice if a version of the messages iterator was provided for public/private archived threads.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant