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
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
Mardroide
MardroideOP2y ago
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's Manny
It's Manny2y ago
It'd be easier to help if you show your code
It's Manny
It's Manny2y ago
Your server is level 2 server boosted right?
Mardroide
MardroideOP2y ago
yeah lvl 3 why?
It's Manny
It's Manny2y ago
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
It's Manny
It's Manny2y ago
Mardroide
MardroideOP2y ago
ummm let me see 1 sec if I do right click to the channel should say "Create new thread"?
It's Manny
It's Manny2y ago
No it shouldn't be there
Mardroide
MardroideOP2y ago
okey so lets see
It's Manny
It's Manny2y ago
You create a thread by using the plus button beside the message bar
Mardroide
MardroideOP2y ago
its sais private lol
It's Manny
It's Manny2y ago
Does it show other members on the side bar?
Mardroide
MardroideOP2y ago
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
Mardroide
MardroideOP2y ago
It sais "Everyone can invite"
Mardroide
MardroideOP2y ago
the blue check I mean
Mardroide
MardroideOP2y ago
await thread.setLocked(true); this yeah?
It's Manny
It's Manny2y ago
you want to add the "invitable: false" option when you create the thread
Mardroide
MardroideOP2y ago
ahh okey I love you man
It's Manny
It's Manny2y ago
no problem, let me know if it works
Mardroide
MardroideOP2y ago
nop, nothing changed
It's Manny
It's Manny2y ago
Does it still say "everyone can invite"?
Mardroide
MardroideOP2y ago
Mardroide
MardroideOP2y ago
now nop
It's Manny
It's Manny2y ago
It's Manny
It's Manny2y ago
Set locked wouldn't change that you're looking for
Mardroide
MardroideOP2y ago
now that check it is not set with this "invitable: false"
It's Manny
It's Manny2y ago
I'd try to output the thread object after you create it with console.log() and see what it says
Mardroide
MardroideOP2y ago
it was done I love you man Apreciate your help
It's Manny
It's Manny2y ago
No worries Oh sweet, didn't know that
Want results from more Discord servers?
Add your server