How to make it so the bot is ablke to set voice channels as private.

.
12 Replies
d.js toolkit
d.js toolkit14mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
ShompiFlen
ShompiFlen14mo ago
what do you mean by private? something with permissions? set a member limit?
Tickles When I Fickle My Pickle
yes like have it so members can’t join
d.js docs
d.js docs14mo ago
:method: VoiceChannel#setUserLimit() Sets the user limit of the channel.
ShompiFlen
ShompiFlen14mo ago
is that what you want?
Tickles When I Fickle My Pickle
i want to make it so it’s locked like nobody can join or if i’m able to set the user limit to 0 but pretty sure that won’t let me do that i’m guessing unless it will…?
ShompiFlen
ShompiFlen14mo ago
if you dont want anybody to join the voice channel then probably denying the permission to connect is a better idea
d.js docs
d.js docs14mo ago
:property: GuildChannel#permissionOverwrites A manager of permission overwrites that belong to this channel :method: PermissionOverwrites#edit() Edits this Permission Overwrite. :dtypes: v10: PermissionFlagsBits read more
ShompiFlen
ShompiFlen14mo ago
the permission is "Connect"
skyhan
skyhan14mo ago
note that admins will not be affected from that
Tickles When I Fickle My Pickle
yes thanks so much for the help

Did you find this page helpful?