diff --git a/chatBot.js b/chatBot.js index d691ecf..da9f11d 100644 --- a/chatBot.js +++ b/chatBot.js @@ -72,6 +72,7 @@ function processMessage() { if(text.indexOf(' joined the room.') != -1) { var userJoined = text.slice(0, text.indexOf(' joined the room.')); postMessage("Hello " + userJoined + " welcome to my stream!"); + new Notification( userJoined + " has joined your livecoding chat! :)" ); } } else { // var userName = $('a', message).text(); <- That includes all links in a message.