From c0693595d68e551a5245603801cd6c2a87e8e7e3 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sat, 3 Apr 2021 12:28:57 -0500 Subject: [PATCH] Update perms for kulboard --- index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 1ccb8cc..efb850e 100644 --- a/index.js +++ b/index.js @@ -144,7 +144,8 @@ async function kulboardCreate(message) { // Remove view permissions from "@everyone" permissionOverwrites: [{ id: message.guild.id, - deny: ['VIEW_CHANNEL'], + allow: ['VIEW_CHANNEL'], + deny: ['SEND_MESSAGES'], }] }).then(channel => { // Add the ID of the "#bot-logs" channel to the database @@ -159,7 +160,8 @@ async function kulboardCreate(message) { // Remove view permissions from "@everyone" permissionOverwrites: [{ id: message.guild.id, - deny: ['VIEW_CHANNEL'], + allow: ['VIEW_CHANNEL'], + deny: ['SEND_MESSAGES'], }] }).then(channel => { // Add the ID of the "#bot-logs" channel to the database