update ddpbridge; closes #21
This commit is contained in:
parent
4332eee80d
commit
ca51de14f7
|
@ -21,7 +21,7 @@ var wasConnected = false;
|
||||||
if (chatmsg.type == "message") {
|
if (chatmsg.type == "message") {
|
||||||
//if (chatmsg.id != myId)
|
//if (chatmsg.id != myId)
|
||||||
if (!chatmsg.content.startsWith('\u034f'))
|
if (!chatmsg.content.startsWith('\u034f'))
|
||||||
send2discord(`**${chatmsg.nick}:** ${chatmsg.content}`);
|
send2discord(`**${chatmsg.user.nick}:** ${chatmsg.content}`);
|
||||||
} else if (chatmsg.type == "join") {
|
} else if (chatmsg.type == "join") {
|
||||||
send2discord(`__***${chatmsg.nick || chatmsg.id} joined.***__`);
|
send2discord(`__***${chatmsg.nick || chatmsg.id} joined.***__`);
|
||||||
} else if (chatmsg.type == "leave") {
|
} else if (chatmsg.type == "leave") {
|
||||||
|
|
Loading…
Reference in New Issue