mirror of
https://github.com/yuzu-emu/Command-fix.git
synced 2024-11-22 10:15:41 +01:00
Log the server name
This commit is contained in:
parent
6c20b28661
commit
82900341fa
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user