From f5924ab7451be6b9c027d8ed9b94742cde220bc9 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Sat, 4 Apr 2020 19:54:49 -0700 Subject: v1.2.6 - mute commands output in console - change if in mods-chat to bot-commands --- app.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app.js b/app.js index 40b2977..49480c7 100644 --- a/app.js +++ b/app.js @@ -12,8 +12,8 @@ bot.on('ready', () => { }); // Outputs available commands in output console - commands = ['bot', 'help']; - console.log(commands); + //commands = ['bot', 'help']; + //console.log(commands); }); // Outputs errors in console window @@ -22,7 +22,7 @@ bot.on('error', console.error); // Start Bot Commands bot.on('message', async msg => { //console.log(msg.content.toLowerCase()); - if (msg.channel.name === 'bots' || msg.channel.name === 'mods-chat' || msg.member.hasPermission('KICK_MEMBERS')) { + if (msg.channel.name === 'bots' || msg.channel.name === 'bot-commands' || msg.member.hasPermission('KICK_MEMBERS')) { var msgContent = msg.content.toLowerCase(); if (prefixCheck()) { console.log(msg.member.user.tag, 'says', msgContent, 'in #' + msg.channel.name); -- cgit v1.2.3