Log the server name

This commit is contained in:
chris062689 2017-07-08 23:53:01 -04:00
parent 6c20b28661
commit 82900341fa

View File

@ -40,7 +40,7 @@ client.on('message', message => {
return; return;
} }
logger.verbose(`${message.author.username} ${message.author} [Channel: ${message.channel}]: ${message.content}`); logger.verbose(`${message.author.username} ${message.author} [Channel: ${message.channel.name} ${message.channel}]: ${message.content}`);
if (message.content.startsWith(config.commandPrefix)) { if (message.content.startsWith(config.commandPrefix)) {
let cmd = message.content.split(' ')[0].slice(1); let cmd = message.content.split(' ')[0].slice(1);