mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-22 13:55:43 +01:00
Disable DM logging
This commit is contained in:
parent
720a9ad24d
commit
6eb9ba7191
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user