Threads not auto archiving
This could be a discord issue but i am out of ideas on my side tbh.
My bot creates a form channel with an auto archive duration of 3 days.
For testing purpose it is set to 1h, that way i do not have to wait too long.
On my main and test server where i run the tests for the bot, i noticed that Discord does NOT in fact archive any old form posts. I checked if maybe a bot sent a message in there or something but i don't see any messages there.
It also could't be a discord permission issue, as the bot has administrator.
Here is what info i have gathered about this:
13 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!npm [email protected]
node v23.8.0
The bot works fine on other servers where auto archiving from discord works
last change to the channels was also more than 1h ago
I don't see where it shows that the bot unarchived the thread.
How does the auto archiving process work then by discord?
To make sure this is not the case, i have shut down the bot after creating the form posts with it.
It hasn't changed anything though and discord still doesn't auto-archive the post/thread
@Qjuh ^
The default auto archive duration is set to 60 (1h). Yet, discord does not auto archive anything, even after months that passed.
Thats where my confusion comes from.
Not that i know of, no. I also checked the latest message id and see when it was sent
here an old one i found:
still 23 days ago
its set to 3d
Thats why i ran it here
Nobody has been touching the channels
be it with ephemeral or none ephemeral messages
I can be the only one on the server with the bot and test it there
Testing will take me an hour probably (min duration)
I'll be back in an hour with the results. On the new server i am testing this on it will only be me for now
has not been archived yet. 1h has passed
^ form channel