#forum thread not locking with .setLocked(true)

17 messages · Page 1 of 1 (latest)

storm depot
#

Hi!
When user create a thread, threadCreate event called and I want to immediately lock the thread. This is working correctly, in the console i can see the locked property is true, but in the discord client that thread is not locked.
Also i can manually lock that thread. After hitting that button, the little notification is coming up to can be opened easily.

#

when i manually lock that thread

#

this is after the threadCreate event called, and i call the setLocked(true) method

lime saffron
#

ctrl r?

storm depot
#

here is my code

storm depot
#

so its refresh, but is still looks like its not locked

wide fog
delicate trellisBOT
storm depot
lime saffron
#

u also need to archive it

#

then it will show the message

#

just tested

storm depot
#

oh

#

daaamn