Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

discord.js lockdown command

//You must have a permission script above here to stop normal members from using this
message.channel.updateOverwrite(message.channel.guild.roles.everyone, { VIEW_CHANNEL: false, SEND_MESSAGES: false });
 
PREVIOUS NEXT
Tagged: #lockdown #command
ADD COMMENT
Topic
Name
7+4 =