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