Skip to content

Commit

Permalink
Merge pull request thelounge#27 from thelounge/shout-redirect
Browse files Browse the repository at this point in the history
Add message for users that join #shout-irc
  • Loading branch information
Max Leiter committed Feb 1, 2019
2 parents 7a69317 + c495eca commit bea8f89
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Expand Up @@ -49,6 +49,10 @@ bot.on("join", function(event) {
if (event.nick.startsWith("lounge-user") || event.nick.startsWith("thelounge")) {
bot.say(event.nick, `馃憢 Hey \x02${event.nick}\x0F, now that you've figured out how to use The Lounge, feel free to change your nickname to something more personal using the \x11/nick <new_nickname>\x0F command so we know who you are! 馃檪`);
}

if (event.channel === "#shout-irc") {
bot.say(event.nick, `馃憢 Hey \x02${event.nick}\x0F, just a heads up that shout is now inactive, and The Lounge has taken its place. Come join us in #thelounge or check https://thelounge.chat for more info.`);
}
});

bot.on("part", function(event) {
Expand Down

0 comments on commit bea8f89

Please sign in to comment.