Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- message.guild.createChannel(`application-${args.slice(0).join("")}`, "text").then(((chan) => {
- chan.setParent('670050400484851722');
- chan.overwritePermissions(message.guild.roles.find('name', '@everyone'), {
- 'VIEW_CHANNEL': false})
- chan.overwritePermissions(message.guild.roles.find('name', 'βPerms'), {
- 'VIEW_CHANNEL': true})
- chan.overwritePermissions((ign), {
- 'VIEW_CHANNEL': true})
- // const msgCh = message.guild.channels.get(`application-${args.slice(0).join("")}`);
- .then(((chan) => { message.channel.send('React below to start the application.')
- message.react('β ').then(() => message.react('β'));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement