Don't use discord chat msg (needs finished)

This commit is contained in:
Vortrex
2022-03-10 09:18:48 -06:00
parent ae9503cba1
commit b06d573ad5

View File

@@ -13,6 +13,8 @@ function initChatScript() {
return true;
}
// ===========================================================================
function processPlayerChat(client, messageText) {
if(!getPlayerData(client)) {
messagePlayerError(client, "You need to login before you can chat!");
@@ -47,7 +49,7 @@ function processPlayerChat(client, messageText) {
}
*/
messagePlayerNormal(null, `💬 ${getCharacterFullName(client)}: ${messageText}`);
messageDiscordChatChannel(`💬 ${getCharacterFullName(client)}: ${messageText}`);
//messageDiscordChatChannel(`💬 ${getCharacterFullName(client)}: ${messageText}`);
}
// ===========================================================================