Log the server name
This commit is contained in:
parent
6c20b28661
commit
82900341fa
|
@ -40,7 +40,7 @@ client.on('message', message => {
|
|||
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)) {
|
||||
let cmd = message.content.split(' ')[0].slice(1);
|
||||
|
|
Loading…
Reference in New Issue