mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-12-22 23:35:36 +00:00
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 a new issue