From 6eb9ba7191850681eb2515aa1bdf450028b4fc2e Mon Sep 17 00:00:00 2001 From: Schplee <24275329+Schplee@users.noreply.github.com> Date: Sat, 24 Apr 2021 20:08:45 -0700 Subject: [PATCH] Disable DM logging --- src/server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server.ts b/src/server.ts index fd32c87..c2e6dc7 100644 --- a/src/server.ts +++ b/src/server.ts @@ -128,8 +128,8 @@ client.on('message', message => { if (message.guild == null && state.responses.pmReply) { // We want to log PM attempts. - logger.info(`${message.author.username} ${message.author} [PM]: ${message.content}`); - state.logChannel.send(`${message.author.toString()} [PM]: ${message.content}`); + // logger.info(`${message.author.username} ${message.author} [PM]: ${message.content}`); + // state.logChannel.send(`${message.author.toString()} [PM]: ${message.content}`); message.reply(state.responses.pmReply); return; }