Disable DM logging

This commit is contained in:
Schplee 2021-04-24 20:08:45 -07:00 committed by GitHub
parent 720a9ad24d
commit 6eb9ba7191
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -128,8 +128,8 @@ client.on('message', message => {
if (message.guild == null && state.responses.pmReply) { if (message.guild == null && state.responses.pmReply) {
// We want to log PM attempts. // We want to log PM attempts.
logger.info(`${message.author.username} ${message.author} [PM]: ${message.content}`); // logger.info(`${message.author.username} ${message.author} [PM]: ${message.content}`);
state.logChannel.send(`${message.author.toString()} [PM]: ${message.content}`); // state.logChannel.send(`${message.author.toString()} [PM]: ${message.content}`);
message.reply(state.responses.pmReply); message.reply(state.responses.pmReply);
return; return;
} }