Hide private threads to members
When I create a thread with the bot all members can see it how can I fix it
32 Replies
Unknown User•2y ago
Message Not Public
Sign In & Join Server To View
I don't find a way to do it
Also I just want to the user who openend the channel (ticket) can only see the thread
Or just hide it to a roles
It'd be easier to help if you show your code
https://sourceb.in/EVVFtXLGAq
there you go
Your server is level 2 server boosted right?
yeah
lvl 3
why?
Was making sure cuz you need at least level 2 to use private threads
It's odd that it isn't creating a private thread though
One thing to note tho is that
ummm
let me see 1 sec
if I do right click to the channel should say "Create new thread"?
No it shouldn't be there
okey
so lets see
You create a thread by using the plus button beside the message bar
its sais private lol
Does it show other members on the side bar?
yeah just the guy with the id , bot and me
but if i see the server with normal roles I can see it
look this
It sais "Everyone can invite"
the blue check I mean
await thread.setLocked(true);
this yeah?
you want to add the "invitable: false" option when you create the thread
ahh okey
I love you man
no problem, let me know if it works
nop, nothing changed
Does it still say "everyone can invite"?
now nop
Set locked wouldn't change that you're looking for
now that check it is not set with this
"invitable: false"
I'd try to output the thread object after you create it with console.log() and see what it says
it was done
I love you man
Apreciate your help
No worries
Oh sweet, didn't know that