Solo
DIAdiscord.js - Imagine an app
•Created by Solo on 7/26/2023 in #djs-questions
Moving from v13, autoArchiveDuration no longer accepts 'MAX' as it requires int32
Hi! I'm working on migrating from v13 to v14, everything is going well except for one specific thing. autoArchiveDuration (for thread creation) no longer accepts 'MAX' as a value, as it requires an int32 value, however I cannot find the replacement value for 'the maximum' anywhere.
Can somebody tell me how I can select the maximum possible length? The premium subscription count can vary in this server, so I prefer it automatically selecting the highest possible value.
Thanks in advance!
11 replies