From ca51de14f7230eb2e4917df5386c18b1272a2edd Mon Sep 17 00:00:00 2001 From: Lamp Date: Tue, 6 Nov 2018 12:56:05 -0800 Subject: [PATCH] update ddpbridge; closes #21 --- src/ddpbridge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ddpbridge.js b/src/ddpbridge.js index f806158..9782243 100644 --- a/src/ddpbridge.js +++ b/src/ddpbridge.js @@ -21,7 +21,7 @@ var wasConnected = false; if (chatmsg.type == "message") { //if (chatmsg.id != myId) if (!chatmsg.content.startsWith('\u034f')) - send2discord(`**${chatmsg.nick}:** ${chatmsg.content}`); + send2discord(`**${chatmsg.user.nick}:** ${chatmsg.content}`); } else if (chatmsg.type == "join") { send2discord(`__***${chatmsg.nick || chatmsg.id} joined.***__`); } else if (chatmsg.type == "leave") {