update ddpbridge; closes #21

This commit is contained in:
Lamp 2018-11-06 12:56:05 -08:00 committed by GitHub
parent 4332eee80d
commit ca51de14f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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") {