mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-23 02:55:39 +00: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) {
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue