Discord webhooks

This commit is contained in:
Vortrex
2022-04-05 06:20:16 -05:00
parent 980a5a8bad
commit 0521e28635
3 changed files with 12 additions and 29 deletions

View File

@@ -39,6 +39,7 @@ function processPlayerChat(client, messageText) {
messageText = messageText.substring(0, 128);
messagePlayerNormal(null, `💬 ${getCharacterFullName(client)}: ${messageText}`);
messageDiscordChatChannel(`💬 ${getCharacterFullName(client)}: ${messageText}`);
} else {
messagePlayerNormal(null, `🛡️ (ADMIN) - ${messageText}`);
}