コマンドログでコマンドを実行したサーバーを表示

This commit is contained in:
M-E-C
2020-06-25 19:29:32 +09:00
parent ad33a9d491
commit 52d04c3857

View File

@ -75,7 +75,7 @@ class BungeeDiscordChat : Plugin(), Listener{
}
}
if (e.isCommand || e.isProxyCommand) {
discord.cmdlog("[CMD-LOG] <${e.sender}> ${e.message} (${format.format(now)})")
discord.cmdlog("[CMD-LOG] <${e.sender}@${p.server.info.name}> ${e.message} (${format.format(now)})")
}else {
discord.chat(chatMessage)
}