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.
#forum thread not locking with .setLocked(true)
17 messages · Page 1 of 1 (latest)
when i manually lock that thread
this is after the threadCreate event called, and i call the setLocked(true) method
ctrl r?
here is my code
nope, not working
so its refresh, but is still looks like its not locked
use await channel.edit({ name, locked }) iirc
ThreadChannel#edit()
Edits this thread.