Browse Source

Update perms for kulboard

master
Abheek Dhawan 4 years ago
parent
commit
c0693595d6
  1. 6
      index.js

6
index.js

@ -144,7 +144,8 @@ async function kulboardCreate(message) {
// Remove view permissions from "@everyone" // Remove view permissions from "@everyone"
permissionOverwrites: [{ permissionOverwrites: [{
id: message.guild.id, id: message.guild.id,
deny: ['VIEW_CHANNEL'], allow: ['VIEW_CHANNEL'],
deny: ['SEND_MESSAGES'],
}] }]
}).then(channel => { }).then(channel => {
// Add the ID of the "#bot-logs" channel to the database // Add the ID of the "#bot-logs" channel to the database
@ -159,7 +160,8 @@ async function kulboardCreate(message) {
// Remove view permissions from "@everyone" // Remove view permissions from "@everyone"
permissionOverwrites: [{ permissionOverwrites: [{
id: message.guild.id, id: message.guild.id,
deny: ['VIEW_CHANNEL'], allow: ['VIEW_CHANNEL'],
deny: ['SEND_MESSAGES'],
}] }]
}).then(channel => { }).then(channel => {
// Add the ID of the "#bot-logs" channel to the database // Add the ID of the "#bot-logs" channel to the database

Loading…
Cancel
Save