Skip to content

How can I actually get thread.archiver_id ? #9850

Answered by tailoric
Gooraeng asked this question in Q&A
Discussion options

You must be logged in to vote

Hello, yes it seems like that information is not in the thread metadata
according to this commit:
discord/discord-api-docs@82c98ba
You should use the audit log as the source of truth
So you probably will need an listener for audit_log_entry_create
Edit: Or just iterate through the Guild.audit_logs (however discord doesn't keep entries indefinitely, so you need to store them in some way if you need them for longer)
and then check for thread updates

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Gooraeng
Comment options

Answer selected by Gooraeng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants